public class CmndProcess extends Object
| Modifier and Type | Class and Description |
|---|---|
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
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CMD_AMBIG |
static int |
CMD_UNKNOWN |
| Constructor and Description |
|---|
CmndProcess()
Main constructors
|
CmndProcess(boolean noExit) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public static final int CMD_AMBIG
public static final int CMD_UNKNOWN
public CmndProcess()
public CmndProcess(boolean noExit)
public void add(CmndProcess.Dispatch disp, CmndProcess.Command cmnd)
public void add(CmndProcess.CmndDisp disp)
public boolean process(String line)
Copyright © 2015 LSST. All rights reserved.