public abstract class CommandLine extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
_classFiles |
protected StringPatternSequence |
_pattern |
protected StringPattern |
_reflectionPattern |
protected boolean |
_valid |
| Constructor and Description |
|---|
CommandLine(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getUsage()
Returns the usage of correct command line arguments and options.
|
protected void |
handleOption(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 String[] _classFiles
public CommandLine(String[] args)
protected void handleOption(String argument)
public String[] getClassFiles()
public StringPattern getPattern()
public StringPattern getReflectionPattern()
public boolean isValid()
public boolean isMergeInnerClasses()
true if the command line option
-mergeInnerClasses occured.public String getUsage()
Copyright © 2014. All rights reserved.