public abstract class CommandLine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
_classFiles |
protected StringPatternSequence |
_pattern |
protected StringPattern |
_reflectionPattern |
protected boolean |
_valid |
Constructor and Description |
---|
CommandLine(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getClassFiles()
Returns all class file descriptors (i.e., class files, directorys,
jar files, or zip files).
|
StringPattern |
getPattern()
Returns the pattern fully qualified class names have to match.
|
StringPattern |
getReflectionPattern()
Returns the reflection pattern as extracted from the option
-reflectionPattern.
|
java.lang.String |
getUsage()
Returns the usage of correct command line arguments and options.
|
protected void |
handleOption(java.lang.String argument) |
boolean |
isMergeInnerClasses()
Returns
true if the command line option
-mergeInnerClasses occured. |
boolean |
isValid()
Returns true if the command line arguments and options are
valid.
|
protected boolean _valid
protected StringPatternSequence _pattern
protected StringPattern _reflectionPattern
protected java.lang.String[] _classFiles
protected void handleOption(java.lang.String argument)
public java.lang.String[] getClassFiles()
public StringPattern getPattern()
public StringPattern getReflectionPattern()
public boolean isValid()
public boolean isMergeInnerClasses()
true
if the command line option
-mergeInnerClasses
occured.public java.lang.String getUsage()