The BiblePlus class represents a bible

Constants

ERR_FILE_CORRUPTED → int

3
ERR_NOT_BIBLE_PLUS_FILE → int

2
ERR_NOT_PDB_FILE → int

1
SUCCESS → int

0

Constructors

BiblePlus(String filepath)

Create a BiblePlus instance of the file specified by the filepath

Properties

books → List<BibleBook>

Get all books in the bible

read-only
compressed → List<bool>

read-only
failReason → int

Get the reason why it failed to load the bible if any

read-only

read-only
isByteShifted → bool

read-only
pdbAccess → PdbAccess

read-only
sepChar → String

read-only
totalBooks → int

Get the total number of books in the bible

read-only
versionInfo → String

Get the version info of the bible

read-only
versionName → String

Get the version name of the bible

read-only
hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

close() → void

Garbage collect the instance when you are done with it

getRepeat(int pos, int wordNum) → List<int>

getWord(int wordNum) → String

getWordPos(int wordNum) → int

loadVersionInfo() → void

Load the basic info of the bible. You would probably always call this method after initializing a BiblePlus instance

loadWordIndex() → void

Load the word index of the pdb file. Only call this method explicitly when you want to eager load the word index. Otherwise this method will be lazy-loaded when necessary

readString(int index, int len) → String

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited