|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface FileDataSource.IFileEncoder
An encoder for a FileDataSource. All instance variables of an encoder should be transient and otherwise invisible to serialization mechanisms.
| Method Summary | |
|---|---|
void |
finish()
|
boolean |
getPredictedCompatibility(java.lang.Class clazz)
|
java.lang.Class |
getPredictedContents()
|
void |
prepareForRead()
Loads any data the encoder needs from the source's options prior to reading. |
void |
prepareForWrite()
Loads any data the encoder needs from the source's options prior to writing. |
java.lang.Object |
read()
|
void |
write(java.lang.Object data)
|
| Method Detail |
|---|
void finish()
FileDataSource.finish()boolean getPredictedCompatibility(java.lang.Class clazz)
IWriteableDataSource.getPredictedCompatibility(java.lang.Class)java.lang.Class getPredictedContents()
IReadableDataSource.getPredictedContents()
void prepareForRead()
throws java.lang.Exception
java.lang.Exception
void prepareForWrite()
throws java.lang.Exception
java.lang.Exception
java.lang.Object read()
throws java.lang.Exception
java.lang.ExceptionIReadableDataSource.read()
void write(java.lang.Object data)
throws java.lang.Exception
java.lang.ExceptionIWriteableDataSource.write(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||