com.sodius.mdw.core.util
Class CommandLine

java.lang.Object
  extended by com.sodius.mdw.core.util.CommandLine

public class CommandLine
extends Object

Provides access to the contents of a command line.


Constructor Summary
CommandLine()
           
 
Method Summary
 String[] getApplicationArgs()
          Returns the application-filtered command line args provided to the MDWorkbench runtime layer when it was first run.
 String[] getArgs()
          Returns the complete (not filtered) command line args provided to the MDWorkbench runtime layer when it was first run.
 void setApplicationArgs(String[] args)
          Sets the application-filtered command line args used to launch MDWorkbench.
 void setArgs(String[] args)
          Sets the complete command line args used to launch MDWorkbench.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLine

public CommandLine()
Method Detail

getArgs

public String[] getArgs()
Returns the complete (not filtered) command line args provided to the MDWorkbench runtime layer when it was first run.

Returns:
the complete command line used to start the platform.

setArgs

public void setArgs(String[] args)
Sets the complete command line args used to launch MDWorkbench.

Parameters:
args - the command line args used to launch MDWorkbench.

getApplicationArgs

public String[] getApplicationArgs()
Returns the application-filtered command line args provided to the MDWorkbench runtime layer when it was first run. The returned value does not include arguments consumed by the lower levels of MDWorkbench (the launcher).

Returns:
the application-filtered command line used to start the platform.

setApplicationArgs

public void setApplicationArgs(String[] args)
Sets the application-filtered command line args used to launch MDWorkbench.

Parameters:
args - the command line args used to launch MDWorkbench.