public class DatastreamProfileResponse extends FedoraResponseImpl
A FedoraResponse for requests that return a datastreamProfile.
This includes AddDatastream, GetDatastream, and ModifyDatastream.
FedoraResponseImpl.ContextPath| Constructor and Description |
|---|
DatastreamProfileResponse(com.sun.jersey.api.client.ClientResponse cr) |
| Modifier and Type | Method and Description |
|---|---|
DatastreamProfile |
getDatastreamProfile()
Get the datastreamProfile.
|
Date |
getLastModifiedDate()
Get the last modified date of the datastream.
|
boolean |
isChecksumValid() |
close, getEntity, getEntityInputStream, getStatus, getType, getXPath, unmarshallResponsepublic DatastreamProfileResponse(com.sun.jersey.api.client.ClientResponse cr)
throws FedoraClientException
FedoraClientExceptionpublic boolean isChecksumValid()
throws FedoraClientException
FedoraClientExceptionpublic Date getLastModifiedDate() throws FedoraClientException
Note this method will fail if the request specified format=html rather than xml.
FedoraClientExceptionpublic DatastreamProfile getDatastreamProfile() throws FedoraClientException
FedoraClientExceptionCopyright © 2010-2013 MediaShelf. All Rights Reserved.