public final class TextStorage extends Storage<Text> implements XMLFileSupport, Freeable
コンストラクタと説明 |
---|
TextStorage() |
修飾子とタイプ | メソッドと説明 |
---|---|
TextStorage |
free()
コンテンツをメモリから破棄出来るようにします.
|
MessageWindowSprite |
getMessageWindowSprite() |
Text[] |
getNextText(Text text) |
void |
readFromXML(java.lang.String filePath)
コンテンツをXMLからロードします.
|
add, addAll, addAll, asList, clear, contains, contains, containsAll, get, getAll, getIfContains, getProperties, isEmpty, iterator, keySet, printAll, printAll, put, putAll, putAll, remove, remove, removeAll, removeAll, removeAll, size, toString
public void readFromXML(java.lang.String filePath) throws IllegalXMLFormatException, ContentsFileNotFoundException, ContentsIOException
XMLFileSupport
readFromXML
インタフェース内 XMLFileSupport
filePath
- ロードするXMLファイルのパスを指定します。IllegalXMLFormatException
- XMLフォーマットがDTDに適合しない場合などに投げることができます。ContentsFileNotFoundException
- 指定されたファイルが存在しない場合に投げられます。ContentsIOException
- 指定されたファイルがロードできない場合に投げられます。public MessageWindowSprite getMessageWindowSprite()
public TextStorage free()
Freeable