|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.lucene.internal.MappingsLoader
public final class MappingsLoader
The Class MappingsLoader.
Field Summary | |
---|---|
static java.lang.String |
ATTACHMENTS
Constant to access the attachments map. |
static java.lang.String |
ATTRIBUTES
Constant to access the attributes map. |
static java.lang.String |
BUNDLE_ID
The Constant BUNDLE_ID. |
static java.lang.String |
XSD_FILE
The Constant XSD_FILE. |
Method Summary | |
---|---|
static java.lang.Object |
loadMappings(java.lang.String fileName)
Load mappings. |
static java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Integer>>> |
loadMappingsMap(java.lang.String fileName)
Loads the mappings in an easy to use HashMap format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BUNDLE_ID
public static final java.lang.String XSD_FILE
public static final java.lang.String ATTRIBUTES
public static final java.lang.String ATTACHMENTS
Method Detail |
---|
public static java.lang.Object loadMappings(java.lang.String fileName)
fileName
- the name of the mappings file
public static java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Integer>>> loadMappingsMap(java.lang.String fileName)
|- index1 | |- attributes | | |- Filename = 1 | | |- Path = 2 | | |- ... | |- attachments | |- Content = 0 | |- ... | |- index2 | |- attributes | | |-Filename = 11 | | |- Path = 12 | | |- ... | |- attachments | |- Content = 10 | |- ... | |- ...
fileName
- the name of the mappings file
|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |