Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2010 MediaShelf <http://www.yourmediashelf.com/> This file is part of fedora-client. fedora-client is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. fedora-client is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with fedora-client. If not, see <http://www.gnu.org/licenses/>.
package com.yourmediashelf.fedora.client.response;

A FedoraResponse for the com.yourmediashelf.fedora.client.request.GetDatastreamHistory request.

Author(s):
Edwin Shin
Since:
0.1.1
            throws FedoraClientException {
        super(cr);
    }

    
Get the datastreamHistory. Note this method will fail if the request specified format=html rather than xml.

Returns:
the DatastreamHistory
Throws:
com.yourmediashelf.fedora.client.FedoraClientException
            throws FedoraClientException {
        if ( == null) {
             =
                    (DatastreamHistoryunmarshallResponse(.);
        }
        return ;
    }

    
Convenience method that returns the pid of the datastream.

Returns:
the pid of the datastream
Throws:
com.yourmediashelf.fedora.client.FedoraClientException
    public String getPid() throws FedoraClientException {
        return getDatastreamProfile().getPid();
    }
New to GrepCode? Check out our FAQ X