Package digilib.meta
Class IndexMetaLoader
java.lang.Object
digilib.meta.IndexMetaLoader
Class loading index.meta files with metadata extracting some image file related information.
Extracts into the MetadataMap all tags in the meta/img tag as key-value pairs and the content of the meta/context tag as XML.
Returns a map with filenames and MetadataMaps.
Implemented using javax.xml.parsers.SAXParser.
- Author:
- Robert Casties
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLoad and parse a file (as URI).Deprecated.
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
IndexMetaLoader
public IndexMetaLoader()
-
-
Method Details
-
loadURL
Deprecated.UseloadUri(URI)
insteadload and parse a file (as URL) returns HashMap with list data- Parameters:
path
- the path- Returns:
- the metadata
- Throws:
SAXException
- on errorIOException
- on error
-
loadUri
Load and parse a file (as URI). returns HashMap with list data- Parameters:
uri
- the URI- Returns:
- the metadata
- Throws:
SAXException
- on errorIOException
- on error
-
loadUri(URI)
instead