INRIA & FluxMedia

fr.fluxmedia.transmorpher.Application
Class CommandLineArgument

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.Application.CommandLineArgument

public final class CommandLineArgument
extends Object


Field Summary
(package private)  boolean compileMode
           
(package private)  int debug_mode
          True if the debug mode is activate
(package private)  boolean execMode
           
(package private)  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)  String reloc
          The relocation directory
(package private)  boolean roundMode
           
(package private)  boolean testMode
           
 
Constructor Summary
CommandLineArgument()
          The commandLine constructor
 
Method Summary
 void argsAnalyse(String[] pArgs)
          Analyse the command line arguments
 boolean getCompileMode()
           
 int getDebugMode()
           
 boolean getExecMode()
           
 String getFilename()
          Get the filename
 Parameters getParameters()
           
 String getRelocation()
           
 boolean getRoundMode()
          Get the filename
 boolean getTestMode()
           
 boolean IsOk()
          return true if the command line is syntaxicly correct
static void printHelp()
           
static void printVersion()
           
 void setBadCommandLineArgument()
          Set the isOk variable to false
 void setDebugMode(int mode)
          Set the debug mode
 void setFilename(String pFilename)
          Set the filename
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

iFilename

String iFilename
The filename parameter

reloc

String reloc
The relocation directory

isOk

boolean isOk
True if the command line is syntaxicly correct

debug_mode

int debug_mode
True if the debug mode is activate

roundMode

boolean roundMode

execMode

boolean execMode

compileMode

boolean compileMode

testMode

boolean testMode

parameters

Parameters parameters
The parameters to be passed to the main process
Constructor Detail

CommandLineArgument

public CommandLineArgument()
The commandLine constructor
Method Detail

setFilename

public final void setFilename(String pFilename)
Set the filename

getFilename

public final String getFilename()
Get the filename

setDebugMode

public final void setDebugMode(int mode)
Set the debug mode

getRoundMode

public final boolean getRoundMode()
Get the filename

getDebugMode

public final int getDebugMode()

getCompileMode

public final boolean getCompileMode()

getExecMode

public final boolean getExecMode()

getTestMode

public final boolean getTestMode()

getRelocation

public final String getRelocation()

getParameters

public final Parameters getParameters()

IsOk

public final boolean IsOk()
return true if the command line is syntaxicly correct

setBadCommandLineArgument

public final void setBadCommandLineArgument()
Set the isOk variable to false

printHelp

public static final void printHelp()

printVersion

public static final void printVersion()

argsAnalyse

public final void argsAnalyse(String[] pArgs)
Analyse the command line arguments

INRIA & FluxMedia

..no bottom yet...