Package cz.cvut.kbss.jopa.util
Class MappingFileParser
java.lang.Object
cz.cvut.kbss.jopa.util.MappingFileParser
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringDefault delimiter of mappings in the mapping file.
- 
Method SummaryModifier and TypeMethodDescriptiongetMappings(File mappingFile) Retrieves IRI mappings from the specified file using the default mapping delimiter -DEFAULT_DELIMITER.getMappings(File mappingFile, String delimiter) Retrieves IRI mappings from the specified file using the specified mapping delimiter.
- 
Field Details- 
DEFAULT_DELIMITERDefault delimiter of mappings in the mapping file.That is, on the left-hand side of the delimiter would the original IRI and on the right-hand side is the mapped value. - See Also:
 
 
- 
- 
Method Details- 
getMappingsRetrieves IRI mappings from the specified file using the default mapping delimiter -DEFAULT_DELIMITER.- Parameters:
- mappingFile- Mapping file to use
- Returns:
- Map of IRI mappings
 
- 
getMappingsRetrieves IRI mappings from the specified file using the specified mapping delimiter.- Parameters:
- mappingFile- Mapping file to use
- delimiter- Delimiter of the mapped IRI
- Returns:
- Map of IRI mappings
 
 
-