org.crosswire.jsword.index.lucene
Class IndexMetadata
java.lang.Object
org.crosswire.jsword.index.lucene.IndexMetadata
public final class IndexMetadata
- extends Object
A singleton that Reads and Maintains IndexMetadata from properties file All
version number in the properties file must be float.
- Author:
- Sijo Cherian [sijocherian at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDEX_VERSION
public static final String INDEX_VERSION
- See Also:
- Constant Field Values
LATEST_INDEX_VERSION
public static final String LATEST_INDEX_VERSION
- See Also:
- Constant Field Values
LUCENE_VERSION
public static final String LUCENE_VERSION
- See Also:
- Constant Field Values
INDEX_VERSION_1_1
public static final float INDEX_VERSION_1_1
- See Also:
- Constant Field Values
INDEX_VERSION_1_2
public static final float INDEX_VERSION_1_2
- See Also:
- Constant Field Values
log
private static final org.slf4j.Logger log
myInstance
private static IndexMetadata myInstance
props
private PropertyMap props
IndexMetadata
private IndexMetadata()
instance
public static IndexMetadata instance()
- All access to IndexMetadata is through this single instance.
- Returns:
- the singleton instance
getInstalledIndexVersion
public float getInstalledIndexVersion()
getLuceneVersion
public float getLuceneVersion()
getLatestIndexVersion
public float getLatestIndexVersion()