Class FDMRendition
- java.lang.Object
-
- org.apache.sling.api.resource.ResourceWrapper
-
- com.adobe.aem.formsndocuments.transferobjects.FDMRendition
-
public class FDMRendition extends ResourceWrapper implements Rendition
-
-
Field Summary
-
Fields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING
-
-
Constructor Summary
Constructors Constructor Description FDMRendition(Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMimeType()
Returns the mime type of the rendition's binary.long
getSize()
Returns the size in bytes of the rendition's binary.java.io.InputStream
getStream()
Returns theInputStream
representing the binary of this rendition.-
Methods inherited from class org.apache.sling.api.resource.ResourceWrapper
adaptTo, getChild, getChildren, getName, getParent, getPath, getResource, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildren, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sling.api.resource.Resource
getChild, getChildren, getName, getParent, getPath, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildren
-
-
-
-
Constructor Detail
-
FDMRendition
public FDMRendition(Resource resource)
-
-
Method Detail
-
getMimeType
public java.lang.String getMimeType()
Description copied from interface:Rendition
Returns the mime type of the rendition's binary.- Specified by:
getMimeType
in interfaceRendition
- Returns:
- the mime type
-
getSize
public long getSize()
Description copied from interface:Rendition
Returns the size in bytes of the rendition's binary.
-
-