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, unmarshallResponse
public DatastreamProfileResponse(com.sun.jersey.api.client.ClientResponse cr) throws FedoraClientException
FedoraClientException
public boolean isChecksumValid() throws FedoraClientException
FedoraClientException
public Date getLastModifiedDate() throws FedoraClientException
Note this method will fail if the request specified format=html rather than xml.
FedoraClientException
public DatastreamProfile getDatastreamProfile() throws FedoraClientException
FedoraClientException
Copyright © 2010-2013 MediaShelf. All Rights Reserved.