|
||||||||||
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 class SwordConstants
A Constants to help the SwordBookDriver to read Sword format data.
Distribution Licence: JSword 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, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence
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 |
(package private) static int |
TESTAMENT_INTRO
constant for the introduction |
(package private) static int |
TESTAMENT_NEW
constant for the new testament |
(package private) static int |
TESTAMENT_OLD
constant for the old testament |
Constructor Summary | |
---|---|
private |
SwordConstants()
Prevent Instansiation |
Method Summary | |
---|---|
(package private) static long |
getIndex(Verse v)
Get the sword index of the given verse |
(package private) 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
static final int TESTAMENT_INTRO
static final int TESTAMENT_OLD
static final int TESTAMENT_NEW
static final int ORDINAL_MAT11
private static short[][] bks
private static short[][] cps
Constructor Detail |
---|
private SwordConstants()
Method Detail |
---|
static int getTestament(Verse v)
static long getIndex(Verse v)
|
Copyright ? 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |