|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.fluxmedia.transmorpher.Application.CommandLineArgument
This is an utily class for the command line analysis
Field Summary | |
(package private) boolean |
compileMode
|
(package private) int |
debug_mode
True if the debug mode is activate |
(package private) boolean |
execMode
|
(package private) java.lang.String |
iFilename
The filename parameter |
(package private) boolean |
isOk
True if the command line is syntaxicly correct |
(package private) Parameters |
parameters
The parameters to be passed to the main process |
(package private) java.lang.String |
reloc
The relocation directory |
(package private) boolean |
roundMode
|
(package private) boolean |
testMode
|
(package private) boolean |
threadMode
|
Constructor Summary | |
CommandLineArgument()
The commandLine constructor |
Method Summary | |
void |
argsAnalyse(java.lang.String[] pArgs)
Analyse the command line arguments |
boolean |
getCompileMode()
Gets the compileMode attribute of the CommandLineArgument object |
int |
getDebugMode()
Gets the debugMode attribute of the CommandLineArgument object |
boolean |
getExecMode()
Gets the execMode attribute of the CommandLineArgument object |
java.lang.String |
getFilename()
Get the filename |
Parameters |
getParameters()
Gets the parameters attribute of the CommandLineArgument object |
java.lang.String |
getRelocation()
Gets the relocation attribute of the CommandLineArgument object |
boolean |
getRoundMode()
Get the filename |
boolean |
getTestMode()
Gets the testMode attribute of the CommandLineArgument object |
boolean |
getThreadMode()
Gets the threadMode attribute of the CommandLineArgument object |
boolean |
IsOk()
return true if the command line is syntaxicly correct |
static void |
printHelp()
Prints help on the standard output. |
static void |
printVersion()
Prints version informations. |
void |
setBadCommandLineArgument()
Set the isOk variable to false |
void |
setDebugMode(int mode)
Set the debug mode |
void |
setFilename(java.lang.String pFilename)
Set the filename |
Methods inherited from class java.lang.Object |
|
Field Detail |
java.lang.String iFilename
java.lang.String reloc
boolean isOk
int debug_mode
boolean roundMode
boolean execMode
boolean compileMode
boolean testMode
boolean threadMode
Parameters parameters
Constructor Detail |
public CommandLineArgument()
Method Detail |
public final void setFilename(java.lang.String pFilename)
pFilename
- The new filename valuepublic final java.lang.String getFilename()
public final void setDebugMode(int mode)
mode
- The new debugMode valuepublic final boolean getRoundMode()
public final int getDebugMode()
public final boolean getCompileMode()
public final boolean getThreadMode()
public final boolean getExecMode()
public final boolean getTestMode()
public final java.lang.String getRelocation()
public final Parameters getParameters()
public final boolean IsOk()
public final void setBadCommandLineArgument()
public static final void printHelp()
public static final void printVersion()
public final void argsAnalyse(java.lang.String[] pArgs)
pArgs
- Description of the Parameter
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |