|
|||||||||
| Home >> All >> com >> eireneh >> bible >> book >> [ raw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.bible.book.raw
Class InstsMem

java.lang.Objectcom.eireneh.bible.book.raw.Mem
com.eireneh.bible.book.raw.InstsMem
- All Implemented Interfaces:
- Insts
- Direct Known Subclasses:
- CaseInstsMem, ParaInstsMem, PuncInstsMem, WordInstsMem
InstsMem is a Base implementation of the Insts interface using the in memory model (Mem).
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
- Version:
- D0.I0.T0
| Field Summary | |
protected int[][] |
array
The store of data |
| Fields inherited from class com.eireneh.bible.book.raw.Mem |
create, leafname, raw |
| Constructor Summary | |
InstsMem(RawBible raw,
java.lang.String leafname,
boolean create)
Basic constructor |
|
InstsMem(RawBible raw,
java.lang.String leafname,
boolean create,
java.lang.StringBuffer messages)
Basic constructor |
|
| Method Summary | |
protected void |
defaultLoad(java.io.InputStream in)
Load the Resource from a stream. |
void |
defaultSave(java.io.OutputStream out)
Ensure that all changes to the index of words are written to a stream. |
int[] |
getIndexes(int ordinal)
Retrieve an ordered list of the words in a Verse |
int[] |
getIndexes(com.eireneh.bible.passage.Verse verse)
Retrieve an ordered list of the words in a Verse |
void |
init()
Start all over again and clear the decks for more data. |
void |
setIndexes(int[] indexes,
com.eireneh.bible.passage.Verse verse)
Set a list of word indexes as the test to a Verse |
| Methods inherited from class com.eireneh.bible.book.raw.Mem |
load, load, save, save |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.eireneh.bible.book.raw.Insts |
save |
| Field Detail |
array
protected int[][] array
- The store of data
| Constructor Detail |
InstsMem
public InstsMem(RawBible raw, java.lang.String leafname, boolean create) throws java.lang.Exception
- Basic constructor
InstsMem
public InstsMem(RawBible raw, java.lang.String leafname, boolean create, java.lang.StringBuffer messages)
- Basic constructor
| Method Detail |
init
public void init()
defaultLoad
protected void defaultLoad(java.io.InputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
- Load the Resource from a stream. This has been renamed from the
default load() to ensure that the custom versions are called.
defaultSave
public void defaultSave(java.io.OutputStream out) throws java.io.IOException
- Ensure that all changes to the index of words are written to a
stream. This has been renamed from the default save() to ensure
that the custom versions are called.
getIndexes
public int[] getIndexes(com.eireneh.bible.passage.Verse verse)
- Retrieve an ordered list of the words in a Verse
- Specified by:
getIndexesin interfaceInsts
getIndexes
public int[] getIndexes(int ordinal)
- Retrieve an ordered list of the words in a Verse
- Specified by:
getIndexesin interfaceInsts
setIndexes
public void setIndexes(int[] indexes,
com.eireneh.bible.passage.Verse verse)
- Set a list of word indexes as the test to a Verse
- Specified by:
setIndexesin interfaceInsts
|
|||||||||
| Home >> All >> com >> eireneh >> bible >> book >> [ raw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC