Package org.mycore.ocfl
Class MCROCFLContent
java.lang.Object
org.mycore.common.content.MCRContent
org.mycore.ocfl.MCROCFLContent
-
Field Summary
Fields inherited from class org.mycore.common.content.MCRContent
docType, encoding, lastModified, length, mimeType, name, systemId, usingSession
-
Constructor Summary
ConstructorDescriptionMCROCFLContent
(edu.wisc.library.ocfl.api.OcflRepository repository, String objectid, String fileName) MCROCFLContent
(edu.wisc.library.ocfl.api.OcflRepository repository, String objectid, String fileName, String version) -
Method Summary
Methods inherited from class org.mycore.common.content.MCRContent
asByteArray, asDataURL, asString, asXML, ensureXML, getContentInputStream, getDataURLEncoding, getDocType, getEncoding, getETag, getInputSource, getMimeType, getName, getReadableByteChannel, getReusableCopy, getSafeEncoding, getSimpleWeakETag, getSource, getSystemId, isReusable, isUsingSession, lastModified, length, sendTo, sendTo, sendTo, sendTo, setDocType, setEncoding, setLastModified, setMimeType, setName, setUsingSession
-
Constructor Details
-
MCROCFLContent
-
MCROCFLContent
-
-
Method Details
-
getInputStream
Description copied from class:MCRContent
Returns content as input stream. Be sure to close this stream properly!- Specified by:
getInputStream
in classMCRContent
- Returns:
- input stream to read content from
- Throws:
IOException
-