@ConsumerType public interface BinaryRendition extends Rendition
BinaryRendition is a read only representation of a particular rendition of an Asset.
BinaryRendition is an extension of a Rendition which is an extension of a Sling Resource, therefore its adaptable.
BinaryRendition is created by Asset.setRendition(String, Binary, java.util.Map) and can be
retrieved either via Asset.getRendition(String) or by adapting a rendition Resource
to a BinaryRendition type.
RESOURCE_TYPE_NON_EXISTING| Modifier and Type | Method and Description |
|---|---|
Binary |
getBinary()
Returns the
Binary of this rendition. |
getMimeType, getSize, getStreamgetChild, getChildren, getName, getParent, getPath, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildrenBinary getBinary()
Binary of this rendition.null if the binary is not found.AssetIOException - if cannot get binaryCopyright © 2010 - 2023 Adobe. All Rights Reserved