edu.byu.ece.edif.util.jsap.commandgroups
Class LogFileCommandGroup
java.lang.Object
edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
edu.byu.ece.edif.util.jsap.commandgroups.LogFileCommandGroup
- All Implemented Interfaces:
- CommandGroup
public class LogFileCommandGroup
- extends AbstractCommandGroup
Parses options for a Logfile, and provides several levels of output so the
user can choose what level of output to see
- Author:
- Derrick Gibelyou
|
Method Summary |
static void |
CreateLog(com.martiansoftware.jsap.JSAPResult result)
|
static boolean |
getLogging(com.martiansoftware.jsap.JSAPResult result)
|
static void |
logOptions(java.util.Set<com.martiansoftware.jsap.Parameter> params,
com.martiansoftware.jsap.JSAPResult results)
|
static long |
reportTime(long startTime,
java.lang.String description,
java.io.PrintStream out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log_file
protected com.martiansoftware.jsap.FlaggedOption _log_file
_debug_file
protected com.martiansoftware.jsap.QualifiedSwitch _debug_file
_verbose
protected com.martiansoftware.jsap.FlaggedOption _verbose
_append_log_file
protected com.martiansoftware.jsap.Switch _append_log_file
APPEND_LOG_OPTION
protected static final java.lang.String APPEND_LOG_OPTION
- See Also:
- Constant Field Values
LOG_FILE_OPTION
protected static final java.lang.String LOG_FILE_OPTION
- See Also:
- Constant Field Values
VERBOSE_OPTION
protected static final java.lang.String VERBOSE_OPTION
- See Also:
- Constant Field Values
DEBUG_OPTION
protected static final java.lang.String DEBUG_OPTION
- See Also:
- Constant Field Values
_oneFive
protected static BoundedIntegerStringParser _oneFive
LogFileCommandGroup
public LogFileCommandGroup()
LogFileCommandGroup
public LogFileCommandGroup(java.lang.String logfile)
getLogging
public static boolean getLogging(com.martiansoftware.jsap.JSAPResult result)
CreateLog
public static void CreateLog(com.martiansoftware.jsap.JSAPResult result)
reportTime
public static long reportTime(long startTime,
java.lang.String description,
java.io.PrintStream out)
- Parameters:
startTime -
- Returns:
- new start time
logOptions
public static void logOptions(java.util.Set<com.martiansoftware.jsap.Parameter> params,
com.martiansoftware.jsap.JSAPResult results)