gov.nasa.pds.report.util
Class SawmillUtil
java.lang.Object
gov.nasa.pds.report.util.SawmillUtil
public class SawmillUtil
- extends Object
Method Summary |
static String |
formatSawmillCommand(String command,
boolean filterDates)
Accept the Sawmill operation flags and values and add the common command
component (i.e. |
static String |
getSawmillHome()
Get the value of the Sawmill home property (the directory where the
Sawmill executable resides) and validate the property if we have not yet
done so |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SawmillUtil
public SawmillUtil()
getSawmillHome
public static String getSawmillHome()
throws SawmillException
- Get the value of the Sawmill home property (the directory where the
Sawmill executable resides) and validate the property if we have not yet
done so
- Returns:
- The location of the Sawmill executable as a
String
- Throws:
SawmillException
- If the location is invalid
formatSawmillCommand
public static String formatSawmillCommand(String command,
boolean filterDates)
throws SawmillException
- Accept the Sawmill operation flags and values and add the common command
component (i.e. path to Sawmill directory, name of Sawmill executable,
and date filter flag and value).
- Parameters:
command
- The flags and values of the Sawmill command
- Throws:
SawmillException
- If the given command is empty
Copyright © 2010–2015 Planetary Data System. All rights reserved.