|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.operation.OperationFactory
public final class OperationFactory
| Method Summary | |
|---|---|
static Operation |
getOperation(int idOperation)
Read and return the correponding operation to the specified operation identifiant |
static Operation |
readNextOperation(java.io.InputStream inputFile)
Read and return the next operation from specified inputFile Structure of InputStream : Data[size] idOperation [1] |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Operation readNextOperation(java.io.InputStream inputFile)
throws java.io.IOException
inputFile - the input stream where action will be read
java.io.IOException - if error occurred during the reading process from the specified
input streampublic static Operation getOperation(int idOperation)
idOperation - the operation identifiant
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||