|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.tools.offline.command.CommandLine
public class CommandLine
The jigshell command line class.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR
|
static java.lang.String |
GO
|
static java.lang.String |
LIST
|
static java.lang.String |
NO_OPT
|
protected java.util.Vector |
parsedCmd
a Vector to handle elements of a parsed command |
protected static org.apache.oro.text.regex.Perl5Compiler |
pcompiler
|
protected static org.apache.oro.text.regex.Perl5Matcher |
pmatcher
|
static java.lang.String |
REC
|
protected static org.apache.oro.text.regex.Pattern |
srPattern
|
static java.lang.String |
UP
|
static java.lang.String |
WHERE
static members: jigshell commands syntax |
| Constructor Summary | |
|---|---|
CommandLine(java.lang.String s)
Initialize a CommandLine instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Get the command line action |
java.lang.String |
getOption()
Get the command option |
java.lang.String |
getTarget()
Get the command target |
void |
parse()
Parse a CommandLine instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String WHERE
public static java.lang.String LIST
public static java.lang.String GO
public static java.lang.String REC
public static java.lang.String ATTR
public static java.lang.String UP
public static java.lang.String NO_OPT
protected java.util.Vector parsedCmd
protected static org.apache.oro.text.regex.Perl5Matcher pmatcher
protected static org.apache.oro.text.regex.Perl5Compiler pcompiler
protected static org.apache.oro.text.regex.Pattern srPattern
| Constructor Detail |
|---|
public CommandLine(java.lang.String s)
s - the command line.| Method Detail |
|---|
public void parse()
throws CommandParseException
CommandParseExceptionpublic java.lang.String getAction()
public java.lang.String getTarget()
public java.lang.String getOption()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||