Package org.fcrepo.kernel.api.models
Interface Binary
- All Superinterfaces:
FedoraResource
- Since:
- 9/19/14
- Author:
- cabeer
-
Method Summary
Methods inherited from interface org.fcrepo.kernel.api.models.FedoraResource
findMementoByDatetime, getAcl, getArchivalGroupId, getChildren, getChildren, getContainer, getCreatedBy, getCreatedDate, getDescribedResource, getDescription, getEtagValue, getFedoraId, getId, getInteractionModel, getLastModifiedBy, getLastModifiedDate, getMementoDatetime, getOriginalResource, getParent, getParentId, getStateToken, getStorageRelativePath, getSystemTypes, getTimeMap, getTriples, getTypes, getUserTypes, hasProperty, hasType, isAcl, isMemento, isOriginalResource
-
Method Details
-
getContent
- Returns:
- The InputStream of content associated with this datastream.
-
getRange
- Parameters:
start- start index of the range, inclusiveend- end index of the range, inclusive- Returns:
- The InputStream of the range of bytes of content associated with this datastream.
-
getContentSize
long getContentSize()- Returns:
- The size in bytes of content associated with this datastream.
-
getContentDigests
Get the pre-calculated content digest for the binary payload- Returns:
- a URI with the format algorithm:value
-
isProxy
- Returns:
- Whether or not this binary is a proxy to another resource
-
isRedirect
- Returns:
- Whether or not this binary is a redirect to another resource
-
getExternalURL
- Returns:
- the external url for this binary if present, or null.
-
getExternalURI
- Returns:
- Get the external uri for this binary if present, or null
-
getMimeType
- Returns:
- The MimeType of content associated with this datastream.
-
getFilename
Return the file name for the binary content- Returns:
- original file name for the binary content, or the object's id.
-