public class MappingsManager
extends java.lang.Object
Constructor and Description |
---|
MappingsManager() |
MappingsManager(java.lang.String dataPath) |
Modifier and Type | Method and Description |
---|---|
void |
add(MappingInfo info) |
static org.dom4j.Element |
addChild(org.dom4j.Element parent,
java.lang.String tag,
java.lang.String text) |
java.util.Map |
getAggMap() |
java.lang.String |
getDataFile() |
static java.lang.String |
getElementText(org.dom4j.Element e,
java.lang.String tag) |
java.util.List |
getErrors() |
java.util.Map |
getIdMap() |
MappingInfo |
getMappingInfo(java.lang.String id) |
java.util.List |
getMappings() |
java.util.List |
getMismatches() |
java.lang.String |
getNdrServer() |
java.lang.String |
getTimeStamp() |
static void |
main(java.lang.String[] args) |
void |
remove(MappingInfo existing) |
void |
reset() |
void |
update(MappingInfo info) |
void |
update(java.lang.String id) |
public MappingsManager() throws java.lang.Exception
java.lang.Exception
public MappingsManager(java.lang.String dataPath) throws java.lang.Exception
java.lang.Exception
public void reset() throws java.lang.Exception
java.lang.Exception
public java.lang.String getNdrServer()
public java.lang.String getTimeStamp()
public java.util.List getMappings()
public MappingInfo getMappingInfo(java.lang.String id)
public java.util.List getMismatches()
public java.util.List getErrors()
public java.util.Map getIdMap()
public java.util.Map getAggMap()
public java.lang.String getDataFile()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void update(java.lang.String id)
public void update(MappingInfo info)
public void remove(MappingInfo existing)
public void add(MappingInfo info)
public static java.lang.String getElementText(org.dom4j.Element e, java.lang.String tag)
public static org.dom4j.Element addChild(org.dom4j.Element parent, java.lang.String tag, java.lang.String text)