Overview  Package   Class  Tree  Index 

be.lassi.ui.log
Class LogToolOptions

java.lang.Object
  extended by be.lassi.ui.log.LogToolOptions

public class LogToolOptions
extends java.lang.Object

Parses the LogTool command line arguments.


Constructor Summary
LogToolOptions()
          Constructs a new instance.
 
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
 

Constructor Detail

LogToolOptions

public LogToolOptions()
Constructs a new instance.

Method Detail

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.


Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2