|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.goerntkai.toolbox.cmdln.CommandLineFactory
Creates CommandLine
s.
Logs in level CONFIG.
null
Method Summary | |
static CommandLine |
createCommandLine(java.lang.String[] theParameters,
Folder theDirectory)
Creates a CommandLine with the parameters given in the
command line. |
static CommandLine |
createCommandLine(java.lang.String theCommando,
java.lang.String[] theParameters,
Folder theDirectory)
Creates a CommandLine with the parameters given in the
command line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static CommandLine createCommandLine(java.lang.String theCommando, java.lang.String[] theParameters, Folder theDirectory) throws java.io.FileNotFoundException, HelpTextException
Creates a CommandLine
with the parameters given in the
command line. The commando must be given as a seperate argument.
null
null
null
null
theCommando
- itselftheParameters
- of the command linetheDirectory
- where to find the help document in
CommandLine
based on the command line
java.io.FileNotFoundException
- when the help document was not found
HelpTextException
- when the help document is invalidpublic static CommandLine createCommandLine(java.lang.String[] theParameters, Folder theDirectory) throws java.io.FileNotFoundException, HelpTextException
Creates a CommandLine
with the parameters given in the
command line. The first parameter is expected to be the commando
itself.
null
null
null
theParameters
- of the command linetheDirectory
- where to find the help document in
CommandLine
based on the command line
java.io.FileNotFoundException
- when the help document was not found
HelpTextException
- when the help document is invalid
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |