Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.huguesjohnson.serialization
Interface Storable

All Known Implementing Classes:
  Area, Attribute, Character, ColorScheme, GameData, GameScript, Item, Map, NamedObject, NamedObjectTreeNode, NonPlayerCharacter, PlayerCharacter, Sequence, SequenceFrame, Skill, Sprite, StringTable, Theme, TileMap, TreeNode

    public interface Storable

Storable - interface for objects that can be serialized

Author:
  Hugues Johnson

Method Summary
`void` | `onDeserialize(Formatter formatter, java.lang.String absoluteDir)` The onDeserialize event should be fired after an object is de-serialized.

Method Detail

### onDeserialize

    void onDeserialize(Formatter formatter,
                       java.lang.String absoluteDir)

  The onDeserialize event should be fired after an object is de-serialized. This allows objects to load transient members, set their working directory, and load Storable members if needed.

  Parameters:
    `formatter` - the formatter to use to load any storable members
    `absoluteDir` - the working directory since all paths stored in the object should be relative

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD