|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsst.ccs.utilities.sa.CmndProc
public class CmndProc
Class to implement command processing
| Nested Class Summary | |
|---|---|
static class |
CmndProc.Command
Inner class to implement command decoding |
static interface |
CmndProc.Dispatch
Inner interface to define command dispatching |
static class |
CmndProc.Lookup
Inner class to implement lookup tables |
| Field Summary | |
|---|---|
static int |
CMD_AMBIG
|
static int |
CMD_UNKNOWN
|
| Constructor Summary | |
|---|---|
CmndProc()
Main constructor |
|
| Method Summary | |
|---|---|
void |
add(CmndProc.Dispatch disp,
CmndProc.Command cmnd)
Adds a command processor |
boolean |
process(String line)
Processes a command line |
static int |
scanArgs(Scanner scan,
String types,
Object[] args,
CmndProc.Lookup... lookup)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CMD_AMBIG
public static final int CMD_UNKNOWN
| Constructor Detail |
|---|
public CmndProc()
| Method Detail |
|---|
public void add(CmndProc.Dispatch disp,
CmndProc.Command cmnd)
public boolean process(String line)
public static int scanArgs(Scanner scan,
String types,
Object[] args,
CmndProc.Lookup... lookup)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||