|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.index.lucene.IndexMetadata
public final class IndexMetadata
A singleton that Reads and Maintains IndexMetadata from properties file All version number in the properties file must be float.
The GNU Lesser General Public License for details.
Field Summary | |
---|---|
static String |
INDEX_VERSION
Deprecated. do not use |
static float |
INDEX_VERSION_1_1
Deprecated. do not use |
static float |
INDEX_VERSION_1_2
latest version on top |
static String |
LATEST_INDEX_VERSION
|
private static org.slf4j.Logger |
log
|
static String |
LUCENE_VERSION
|
private static IndexMetadata |
myInstance
|
static String |
PREFIX_LATEST_INDEX_VERSION_BOOK_OVERRIDE
|
private PropertyMap |
props
|
Constructor Summary | |
---|---|
private |
IndexMetadata()
|
Method Summary | |
---|---|
static String |
generateInstalledBooksIndexVersionReport(BookFilter filter)
|
static String |
getBookIdentifierPropSuffix(BookMetaData meta)
|
float |
getInstalledIndexVersion()
Deprecated. see InstalledIndex.java |
float |
getLatestIndexVersion()
|
float |
getLatestIndexVersion(Book b)
|
String |
getLatestIndexVersionStr()
|
float |
getLuceneVersion()
|
static IndexMetadata |
instance()
All access to IndexMetadata is through this single instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float INDEX_VERSION_1_2
@Deprecated public static final float INDEX_VERSION_1_1
public static final String LATEST_INDEX_VERSION
public static final String LUCENE_VERSION
public static final String PREFIX_LATEST_INDEX_VERSION_BOOK_OVERRIDE
@Deprecated public static final String INDEX_VERSION
private static final org.slf4j.Logger log
private static IndexMetadata myInstance
private PropertyMap props
Constructor Detail |
---|
private IndexMetadata()
Method Detail |
---|
public static IndexMetadata instance()
@Deprecated public float getInstalledIndexVersion()
public float getLatestIndexVersion()
public String getLatestIndexVersionStr()
public float getLatestIndexVersion(Book b)
public static String getBookIdentifierPropSuffix(BookMetaData meta)
public float getLuceneVersion()
public static String generateInstalledBooksIndexVersionReport(BookFilter filter)
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |