|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fossilec.odettej.service.RecordFormat
public final class RecordFormat
Field Summary | |
---|---|
static RecordFormat |
FIXED
Each record in the file has the same length. |
static RecordFormat |
TEXTFILE
A Text File is defined as a sequence of ASCII characters, containing no control characters except CR/LF which delimits lines. |
static RecordFormat |
UNSTRUCTURED
The file contains a stream of data. |
static RecordFormat |
VARIABLE
The records in the file can have different lengths. |
Method Summary | |
---|---|
java.lang.String |
getCode()
|
static RecordFormat |
parse(java.lang.String code)
Convenient method for parsing the proper CommandIdentifier instance given a identifier character. |
java.lang.String |
toString()
|
static java.util.Collection |
values()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final RecordFormat FIXED
public static final RecordFormat VARIABLE
public static final RecordFormat UNSTRUCTURED
public static final RecordFormat TEXTFILE
Method Detail |
---|
public java.lang.String getCode()
public java.lang.String toString()
toString
in class java.lang.Object
public static RecordFormat parse(java.lang.String code)
identifier
- The command identifier being evaluated
CommandNotRecognisedException
- Command not recognisedpublic static java.util.Collection values()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |