|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of the OpenFileState that this class extends.public interface StatefulFileBackedBackend<T extends OpenFileState>
Indicates that there is a stateful backend
The GNU Lesser General Public License for details.| Method Summary | |
|---|---|
T |
initState()
Initialises the state required to read from files, specific to each different backend |
String |
readRawContent(T state,
Key key)
|
void |
setAliasKey(T state,
Key alias,
Key source)
Sets alias for a comment on a verse range I.e. |
void |
setRawText(T state,
Key key,
String text)
Set the text allotted for the given verse |
| Method Detail |
|---|
T initState()
throws BookException
BookException
String readRawContent(T state,
Key key)
throws BookException,
IOException
state - the state object containing all the open random access fileskey - the verse that is sought
BookException
IOException - something went wrong when reading the verse
void setRawText(T state,
Key key,
String text)
throws BookException,
IOException
state - TODOkey - The key to set text totext - The text to be set for key
BookException - If the data can not be set.
IOException - If the module data path could not be created.
void setAliasKey(T state,
Key alias,
Key source)
throws IOException
state - the open file statealias - Alias Keysource - Source Key
IOException - Exception when anything goes wrong on writing the alias
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||