Class ThemeRendition
- java.lang.Object
-
- org.apache.sling.api.resource.ResourceWrapper
-
- com.adobe.aem.formsndocuments.transferobjects.ThemeRendition
-
public class ThemeRendition 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 ThemeRendition(Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMimeType()Returns the mime type of the rendition's binary.longgetSize()Returns the size in bytes of the rendition's binary.java.io.InputStreamgetStream()Returns theInputStreamrepresenting 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
-
ThemeRendition
public ThemeRendition(Resource resource)
-
-
Method Detail
-
getMimeType
public java.lang.String getMimeType()
Description copied from interface:RenditionReturns the mime type of the rendition's binary.- Specified by:
getMimeTypein interfaceRendition- Returns:
- the mime type
-
getSize
public long getSize()
Description copied from interface:RenditionReturns the size in bytes of the rendition's binary.
-
-