|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.book.sword.SwordConstants
public final class SwordConstants
A Constants to help the SwordBookDriver to read Sword format data.
for license details.
The copyright to this program is held by it's authors.
Field Summary | |
---|---|
private static short[][] |
bks
array containing LUT of offsets in the chapter table. |
private static short[][] |
cps
array containing LUT of positions of initial verses per chapter. |
static String |
DIR_CONF
The configuration directory |
static String |
DIR_DATA
The data directory |
static String |
EXTENSION_CONF
Extension for config files |
static String |
EXTENSION_DATA
Extension for data files |
static String |
EXTENSION_INDEX
Extension for index files |
static String |
EXTENSION_VSS
Index file extensions |
static String |
FILE_NT
New testament data files |
static String |
FILE_OT
Old testament data files |
(package private) static int |
ORDINAL_MAT11
The start of the new testament |
static int |
TESTAMENT_INTRO
constant for the introduction |
static int |
TESTAMENT_NEW
constant for the new testament |
static int |
TESTAMENT_OLD
constant for the old testament |
Constructor Summary | |
---|---|
private |
SwordConstants()
Prevent instantiation |
Method Summary | |
---|---|
(package private) static int |
getIndex(Verse v)
Get the sword index of the given verse |
static int |
getTestament(Verse v)
Get the testament of a given verse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FILE_NT
public static final String FILE_OT
public static final String EXTENSION_VSS
public static final String EXTENSION_INDEX
public static final String EXTENSION_DATA
public static final String EXTENSION_CONF
public static final String DIR_DATA
public static final String DIR_CONF
public static final int TESTAMENT_INTRO
public static final int TESTAMENT_OLD
public static final int TESTAMENT_NEW
static final int ORDINAL_MAT11
private static short[][] bks
private static short[][] cps
Constructor Detail |
---|
private SwordConstants()
Method Detail |
---|
public static int getTestament(Verse v)
static int getIndex(Verse v)
|
Copyright ยจ 2003-2007 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |