|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsst.ccs.utilities.sa.CmndProcess
public class CmndProcess
Class to implement command processing, new style
| Nested Class Summary | |
|---|---|
static interface |
CmndProcess.CmndDisp
Enhanced inner interface to define command dispatching |
static class |
CmndProcess.Command
Inner class to implement command decoding |
static interface |
CmndProcess.Dispatch
Inner interface to define command dispatching |
static class |
CmndProcess.Lookup
Inner class to implement lookup tables |
| Field Summary | |
|---|---|
static int |
CMD_AMBIG
|
static int |
CMD_UNKNOWN
|
| Constructor Summary | |
|---|---|
CmndProcess()
Main constructors |
|
CmndProcess(boolean noExit)
|
|
| Method Summary | |
|---|---|
void |
add(CmndProcess.CmndDisp disp)
Adds a command processor, enhanced version |
void |
add(CmndProcess.Dispatch disp,
CmndProcess.Command cmnd)
Adds a command processor |
boolean |
process(String line)
Processes a command line |
| 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 CmndProcess()
public CmndProcess(boolean noExit)
| Method Detail |
|---|
public void add(CmndProcess.Dispatch disp,
CmndProcess.Command cmnd)
public void add(CmndProcess.CmndDisp disp)
public boolean process(String line)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||