|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectreservation.Command
This class hold Command structure. This object analyse the instruction written by the user and determine according to the first element the command to execute. Then it instancie a new object which depends to the command and which will execute the instruction of the user.
Field Summary |
Fields inherited from interface reservation.Mode |
DEBUG, HIGH, NORMAL, QUIET |
Constructor Summary | |
Command()
Creates a new instance of Command |
|
Command(java.io.BufferedReader in,
int VerboseMode)
Take over the instruction written by the user and also if it want execute the command in Verbose Mode |
Method Summary | |
void |
process()
This method determine the number of element of the user's instruction and analyse the first element of this one. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Command()
public Command(java.io.BufferedReader in, int VerboseMode)
in
- The input stream from which the data are interpretedVerboseMode
- the verbosity level (QUIET, NORMAL, DEBUG)Method Detail |
public void process()
process
in interface Mode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |