RESOURCE_TYPE_NON_EXISTING
Modifier and Type | Method and Description |
---|---|
Asset |
getAsset()
Returns this rendition's parent Asset.
|
java.lang.String |
getMimeType()
Returns the mime type of the rendition's binary, as denoted by its
jcr:mimeType property. |
java.lang.String |
getName()
Returns the name of the rendition.
|
java.lang.String |
getPath()
Returns the path of the rendition, e.g.
|
ValueMap |
getProperties()
Returns the
ValueMap of the rendition's underlying ./jcr:content node. |
long |
getSize()
Returns the size in bytes of the rendition's binary.
|
java.io.InputStream |
getStream()
Returns the
InputStream representing the binary of this rendition. |
getChild, getChildren, getParent, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildren
java.lang.String getMimeType()
jcr:mimeType
property.java.lang.String getName()
java.lang.String getPath()
ValueMap getProperties()
ValueMap
of the rendition's underlying ./jcr:content node.long getSize()
java.io.InputStream getStream()
InputStream
representing the binary of this rendition. Alternatively the stream can be
obtained by adapting the rendition:
... final Rendition rendition = asset.getRendition("myrendition"); final InputStream stream = rendition.adaptTo(InputStream.class); ...
null
if the binary is not found."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"