|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.util.JVMArguments
Class JVMArguments represents the arguments given by the user to launch a debuggee VM. When given a string of arguments, it will parse it into the component parts. These parts can be retrieved using the provided methods. One of the methods will perform an intelligent conversion on the options, appropriate for launching a debuggee VM.
This class is used by the load command and the VMStart action.
Field Summary | |
protected boolean |
classpathSpecified
True if the user-provided options specified a classpath. |
protected boolean |
jvmSpecified
True if the user-provided options specified which VM to use, such as -hotspot, -classic, etc. |
protected java.lang.String |
parsedOptions
The original parsed options provided by the user. |
protected java.lang.String |
stuffAfterOptions
Everything that followed the original options, such as the classname and class parameters. |
Constructor Summary | |
JVMArguments(java.lang.String arguments)
Constructs a JVMArguments using the given arguments. |
|
JVMArguments(com.bluemarsh.util.StringTokenizer arguments)
Constructs a JVMArguments using the given arguments. |
Method Summary | |
java.lang.String |
normalizedOptions(Session session)
Processes the parsed arguments and returns a String of arguments that should be used to launch a debuggee VM. |
java.lang.String |
parsedOptions()
Returns the options as entered by the user. |
protected void |
parseOptions(com.bluemarsh.util.StringTokenizer arguments)
Parse the user-specified arguments and set the field variables appropriately. |
java.lang.String |
stuffAfterOptions()
Return everything that followed the options. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String parsedOptions
protected java.lang.String stuffAfterOptions
protected boolean jvmSpecified
protected boolean classpathSpecified
Constructor Detail |
public JVMArguments(java.lang.String arguments)
arguments
- user-provided arguments.public JVMArguments(com.bluemarsh.util.StringTokenizer arguments)
arguments
- user-provided arguments.Method Detail |
public java.lang.String normalizedOptions(Session session)
session
- Session used for launching debuggee.public java.lang.String parsedOptions()
protected void parseOptions(com.bluemarsh.util.StringTokenizer arguments)
arguments
- user-provided arguments.public java.lang.String stuffAfterOptions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |