org.fcrepo.server.storage.types
Class DatastreamManagedContent
java.lang.Object
org.fcrepo.server.storage.types.Datastream
org.fcrepo.server.storage.types.DatastreamManagedContent
public class DatastreamManagedContent
- extends Datastream
- Version:
- $Id$
- Author:
- Chris Wilper
| Fields inherited from class org.fcrepo.server.storage.types.Datastream |
autoChecksum, CHECKSUM_IOEXCEPTION, CHECKSUM_NONE, CHECKSUMTYPE_DISABLED, DatastreamAltIDs, DatastreamID, defaultChecksumType, DSChecksum, DSChecksumType, DSControlGrp, DSCreateDT, DSFormatURI, DSInfoType, DSLabel, DSLocation, DSLocationType, DSMIME, DSSize, DSState, DSVersionable, DSVersionID, isNew |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPY_SCHEME
public static final String COPY_SCHEME
- Internal scheme to indicating that a copy should made of the resource.
- See Also:
- Constant Field Values
TEMP_SCHEME
public static final String TEMP_SCHEME
- See Also:
- Constant Field Values
UPLOADED_SCHEME
public static final String UPLOADED_SCHEME
- See Also:
- Constant Field Values
DSMDClass
public int DSMDClass
DatastreamManagedContent
public DatastreamManagedContent()
copy
public Datastream copy()
- Overrides:
copy in class Datastream
getContentStream
public InputStream getContentStream(Context ctx)
throws StreamIOException
- Overrides:
getContentStream in class Datastream
- Throws:
StreamIOException
putContentStream
public void putContentStream(MIMETypedStream stream)
throws StreamIOException
- Set the contents of this managed datastream by storing as a temp file. If the previous content
was stored in a temp file, clean up this file.
- Parameters:
stream - - the data to store in this datastream
- Throws:
StreamIOException
Copyright © 2011 DuraSpace. All Rights Reserved.