protected static final class AbstractMETSIngester.MdrefManager extends Object implements METSManifest.Mdref
An instance of ZipMdrefManager holds the state needed to retrieve the
contents of an external metadata stream referenced by an
mdRef element in a Zipped up METS manifest.
Initialize it with the Content (ORIGINAL) Bundle containing all of the metadata bitstreams. Match an mdRef by finding the bitstream with the same name.
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream(org.jdom.Element mdref)
Make the contents of an external resource mentioned in an
mdRef element available as an InputStream. |
public InputStream getInputStream(org.jdom.Element mdref) throws MetadataValidationException, IOException
mdRef element available as an InputStream.
See the METSManifest.MdRef interface for details.getInputStream in interface METSManifest.Mdrefmdref - the METS mdRef element to locate the input for.MetadataValidationException - if validation errorIOException - if IO errorMETSManifestCopyright © 2019 DuraSpace. All rights reserved.