public class FedoraDatastreamImpl extends FedoraResourceImpl implements FedoraDatastream
| Modifier and Type | Field and Description |
|---|---|
protected static com.hp.hpl.jena.rdf.model.Property |
REST_API_DIGEST |
graph, httpHelper, path, repository, subject| Constructor and Description |
|---|
FedoraDatastreamImpl(FedoraRepository repository,
HttpHelper httpHelper,
String path)
Constructor for FedoraDatastreamImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkFixity() |
InputStream |
getContent() |
URI |
getContentDigest() |
Long |
getContentSize() |
String |
getContentType() |
String |
getFilename() |
String |
getName() |
FedoraObject |
getObject() |
boolean |
hasContent() |
void |
setGraph(com.hp.hpl.jena.graph.Graph graph)
Update the properties graph
|
void |
updateContent(FedoraContent content) |
copy, delete, getCreatedDate, getEtagValue, getGraph, getLastModifiedDate, getMixins, getPath, getProperties, getPropertyValues, getSize, getTriple, isWritable, move, setEtagValue, updateProperties, updatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopy, delete, getCreatedDate, getEtagValue, getLastModifiedDate, getMixins, getPath, getProperties, getSize, isWritable, move, updateProperties, updatePropertiesprotected static final com.hp.hpl.jena.rdf.model.Property REST_API_DIGEST
public FedoraDatastreamImpl(FedoraRepository repository, HttpHelper httpHelper, String path)
repository - Repository that created this object.httpHelper - HTTP helper for making repository requestspath - Path of the datastream in the repositorypublic void setGraph(com.hp.hpl.jena.graph.Graph graph)
FedoraResourceImplsetGraph in class FedoraResourceImplpublic boolean hasContent()
throws FedoraException
hasContent in interface FedoraDatastreamFedoraExceptionpublic FedoraObject getObject() throws FedoraException
getObject in interface FedoraDatastreamFedoraExceptionpublic String getName()
getName in interface FedoraResourcegetName in class FedoraResourceImplpublic URI getContentDigest() throws FedoraException
getContentDigest in interface FedoraDatastreamFedoraExceptionpublic Long getContentSize() throws FedoraException
getContentSize in interface FedoraDatastreamFedoraExceptionpublic String getFilename() throws FedoraException
getFilename in interface FedoraDatastreamFedoraExceptionpublic String getContentType() throws FedoraException
getContentType in interface FedoraDatastreamFedoraExceptionpublic void updateContent(FedoraContent content) throws FedoraException
updateContent in interface FedoraDatastreamFedoraExceptionpublic InputStream getContent() throws FedoraException
getContent in interface FedoraDatastreamFedoraExceptionpublic void checkFixity()
checkFixity in interface FedoraDatastreamCopyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.