|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.huguesjohnson.tiamat.CharacterFactory
public abstract class CharacterFactory
CharacterFactory - Abstract factory to select an appropriate Character for a given file
Constructor Summary | |
---|---|
CharacterFactory()
|
Method Summary | |
---|---|
static Character |
load(java.lang.String path,
Formatter formatter)
Chooses an appropriate Character for the given file and loads it, throws UnsupportedCharacterException if one can not be found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharacterFactory()
Method Detail |
---|
public static final Character load(java.lang.String path, Formatter formatter) throws UnsupportedCharacterException
path
- The absolute path to the serialized Character file.formatter
- The formatter used to deserialze the Character file.
UnsupportedCharacterException
- If the file can be deserialized to a known Character implementation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |