Package org.dspace.content.packager
Class AbstractMETSDisseminator.MdStreamCache
java.lang.Object
org.dspace.content.packager.AbstractMETSDisseminator.MdStreamCache
- Enclosing class:
- AbstractMETSDisseminator
Wrapper for a table of streams to add to the package, such as
mdRef'd metadata. Key is relative pathname of file, value is
InputStream with contents to put in it. Some
superclasses will put streams in this table when adding an mdRef
element to e.g. a rightsMD segment.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStream(edu.harvard.hul.ois.mets.MdRef key, InputStream md) voidclose()Map<edu.harvard.hul.ois.mets.MdRef,InputStream> getMap()
-
Field Details
-
extraFiles
-
-
Constructor Details
-
MdStreamCache
protected MdStreamCache()
-
-
Method Details
-
addStream
-
getMap
-
close
- Throws:
IOException
-