org.dspace.content.packager
Class AbstractMETSDisseminator.MdStreamCache
java.lang.Object
org.dspace.content.packager.AbstractMETSDisseminator.MdStreamCache
- Enclosing class:
- AbstractMETSDisseminator
protected static class AbstractMETSDisseminator.MdStreamCache
- extends Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMETSDisseminator.MdStreamCache
protected AbstractMETSDisseminator.MdStreamCache()
addStream
public void addStream(edu.harvard.hul.ois.mets.MdRef key,
InputStream md)
getMap
public Map<edu.harvard.hul.ois.mets.MdRef,InputStream> getMap()
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2011 DuraSpace. All Rights Reserved.