|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.content.packager.AbstractMETSIngester.MdrefManager
protected class AbstractMETSIngester.MdrefManager
An instance of MdrefManager holds the state needed to
retrieve the contents (or bitstream corresponding to) an
external metadata stream referenced by an mdRef
element in the METS manifest.
Initialize it with the DSpace Bundle containing all of the metadata bitstreams. Match an mdRef by finding the bitstream with the same name.
| Method Summary | |
|---|---|
Bitstream |
getBitstreamForMdRef(org.jdom.Element mdref)
Find the local Bitstream referenced in an mdRef element. |
InputStream |
getInputStream(org.jdom.Element mdref)
Make the contents of an external resource mentioned in an mdRef element available as an InputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Bitstream getBitstreamForMdRef(org.jdom.Element mdref)
throws MetadataValidationException,
IOException,
SQLException,
AuthorizeException
mdRef element.
mdref - the METS mdRef element to locate the bitstream for.
MetadataValidationException
IOException
SQLException
AuthorizeException
public InputStream getInputStream(org.jdom.Element mdref)
throws MetadataValidationException,
IOException,
SQLException,
AuthorizeException
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
IOException
SQLException
AuthorizeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||