public interface FedoraDatastream extends FedoraResource
| Modifier and Type | Method and Description |
|---|---|
void |
checkFixity()
Check the size and checksum of the datastream content.
|
InputStream |
getContent()
Get the datastream content as an InputStream.
|
URI |
getContentDigest()
Get the checksum of the datastream content.
|
Long |
getContentSize()
Get the size of the datastream content in bytes.
|
String |
getContentType()
Get the datastream content type (MIME type).
|
String |
getFilename()
Get the datastream filename.
|
FedoraObject |
getObject()
Get the Object that contains this Datastream.
|
boolean |
hasContent()
Check whether this Datastream has content.
|
void |
updateContent(FedoraContent content)
Replace the content of this Datastream.
|
copy, delete, getCreatedDate, getEtagValue, getLastModifiedDate, getMixins, getName, getPath, getProperties, getSize, isWritable, move, updateProperties, updatePropertiesvoid checkFixity()
throws FedoraException
FedoraExceptionInputStream getContent() throws FedoraException
FedoraExceptionURI getContentDigest() throws FedoraException
FedoraExceptionLong getContentSize() throws FedoraException
FedoraExceptionString getFilename() throws FedoraException
FedoraExceptionString getContentType() throws FedoraException
FedoraExceptionFedoraObject getObject() throws FedoraException
FedoraExceptionboolean hasContent()
throws FedoraException
FedoraExceptionvoid updateContent(FedoraContent content) throws FedoraException
content - Updated content of the datastream.FedoraExceptionCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.