be.lassi.ui.log
Class LogToolOptions
java.lang.Object
be.lassi.ui.log.LogToolOptions
public class LogToolOptions
- extends java.lang.Object
Parses the LogTool
command line arguments.
Method Summary |
java.lang.String |
getInputFilename()
Gets the name of LCedit+ log file to read. |
java.lang.String |
getOutputFilename()
Gets the name of the file to write the formatted lanbox commands to. |
void |
parse(java.lang.String[] args)
Parses given command line arguments. |
void |
printUsage()
Prints usage message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogToolOptions
public LogToolOptions()
- Constructs a new instance.
getInputFilename
public java.lang.String getInputFilename()
- Gets the name of LCedit+ log file to read.
- Returns:
- the name of the file to read
getOutputFilename
public java.lang.String getOutputFilename()
- Gets the name of the file to write the formatted lanbox commands to.
- Returns:
- the name of the file to write the formatted lanbox commands to
parse
public void parse(java.lang.String[] args)
throws org.apache.commons.cli.ParseException
- Parses given command line arguments. Print error and usage message
when syntax errors are found during parsing.
- Parameters:
args
- command line arguments
- Throws:
org.apache.commons.cli.ParseException
printUsage
public void printUsage()
- Prints usage message.