|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ds.fw.parse.FwCommandFormat
FwCommandFormat classd provides format information for a given command, used when parsing that command.
| Field Summary | |
int |
commCode
The command name |
java.lang.String |
commName
|
java.util.Vector |
nameArg
The type of an argument |
int |
numbArgs
The command code |
boolean |
repeated_arg
The name of an argument |
java.util.Vector |
typeArg
The number of command's arguments |
| Constructor Summary | |
FwCommandFormat(java.lang.String txtFormat,
int code)
The FwCommandFormat constructor parses the comannd text format (txtFormat arguments) and adds their names to the vector nameArg. |
|
FwCommandFormat(java.lang.String txtFormat,
int code,
boolean repeated)
Another constructor which is used for commands with a repetition of N arguments of the same type. |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String commName
public int commCode
public int numbArgs
public java.util.Vector typeArg
public java.util.Vector nameArg
public boolean repeated_arg
| Constructor Detail |
public FwCommandFormat(java.lang.String txtFormat,
int code)
public FwCommandFormat(java.lang.String txtFormat,
int code,
boolean repeated)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||