public class DatastreamManagedContent extends Datastream
| Modifier and Type | Field and Description |
|---|---|
static String |
COPY_SCHEME
Internal scheme to indicating that a copy should made of the resource.
|
int |
DSMDClass |
static String |
TEMP_SCHEME |
static String |
UPLOADED_SCHEME |
autoChecksum, CHECKSUM_IOEXCEPTION, CHECKSUM_NONE, CHECKSUMTYPE_DISABLED, DatastreamAltIDs, DatastreamID, defaultChecksumType, DS_LOCATION_TYPE_INTERNAL, DS_LOCATION_TYPE_URL, DSChecksum, DSChecksumType, DSControlGrp, DSCreateDT, DSFormatURI, DSInfoType, DSLabel, DSLocation, DSLocationType, DSMIME, DSSize, DSState, DSVersionable, DSVersionID, isNew| Constructor and Description |
|---|
DatastreamManagedContent() |
| Modifier and Type | Method and Description |
|---|---|
Datastream |
copy() |
InputStream |
getContentStream(Context ctx) |
void |
putContentStream(MIMETypedStream stream)
Set the contents of this managed datastream by storing as a temp file.
|
compareChecksum, copy, getChecksum, getChecksumType, getContentStream, getContentStreamForChecksum, getDefaultChecksumType, setChecksum, validateChecksumTypepublic static final String COPY_SCHEME
public static final String TEMP_SCHEME
public static final String UPLOADED_SCHEME
public int DSMDClass
public Datastream copy()
copy in class Datastreampublic InputStream getContentStream(Context ctx) throws StreamIOException
getContentStream in class DatastreamStreamIOExceptionpublic void putContentStream(MIMETypedStream stream) throws StreamIOException
stream - - the data to store in this datastreamStreamIOExceptionCopyright © 2013 DuraSpace. All Rights Reserved.