|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Writable
This interface allows Objects to write themselves out to Strings (and allows Objects to be created from such Strings).
Field Summary | |
---|---|
static java.lang.String |
FIELD_SEPARATOR
Used for separating fields when objects are written out to Strings. |
Method Summary | |
---|---|
double |
getVersion()
Returns the version of the class. |
int |
read(java.util.List strings,
int currentLineNumber)
|
void |
setVersion(double version)
Sets the version number of the class. |
java.util.List |
write()
Writes the object in question to a List of Strings. |
Field Detail |
---|
static final java.lang.String FIELD_SEPARATOR
Method Detail |
---|
java.util.List write() throws MinervaReadWriteException
MinervaReadWriteException
- if thereint read(java.util.List strings, int currentLineNumber) throws MinervaReadWriteException
MinervaReadWriteException
double getVersion()
void setVersion(double version)
version
- the version number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |