|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Formatter
Formatter - interface for writing a Storable object to a physical representation
Method Summary | |
---|---|
Storable |
loadFrom(java.lang.String sourcePath)
Loads an object from the specified source path. |
void |
saveTo(Storable object,
java.lang.String outputPath)
Saves the object to the output path. |
Method Detail |
---|
void saveTo(Storable object, java.lang.String outputPath) throws StorageException
object
- The object to save.outputPath
- The path to save the object to.
StorageException
- If the save operation fails for any reason.Storable loadFrom(java.lang.String sourcePath) throws StorageException
sourcePath
- The path to load the object from.
StorageException
- If the load operation fails for any reason.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |