@Node(jcrType="hippo:resource") public class HippoResource extends HippoItem implements HippoResourceBean
HippoItem.ComparatorMap
comparePath, detached, localizedName, name, node, objectConverter, path, valueProvider
Constructor and Description |
---|
HippoResource() |
Modifier and Type | Method and Description |
---|---|
String |
getFilename() |
Calendar |
getLastModified() |
long |
getLength() |
BigDecimal |
getLengthKB()
Return size in kilobytes
|
BigDecimal |
getLengthMB()
Return size in kilobytes
|
String |
getMimeType()
Get the mime type of this resource.
|
attach, compareTo, detach, equalCompare, equals, getAvailableTranslations, getAvailableTranslationsBean, getBean, getBean, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getContextualBean, getContextualParentBean, getEqualComparator, getIdentifier, getLinkedBean, getLinkedBeans, getLocalizedName, getName, getNode, getObjectConverter, getParentBean, getPath, getProperties, getProperty, getProperty, getProperty, getValueProvider, hashCode, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, setComparePath, setIdentifier, setLocalizedName, setName, setNode, setObjectConverter, setPath
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
equalCompare, getAvailableTranslations, getAvailableTranslationsBean, getBean, getBean, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getContextualBean, getContextualParentBean, getEqualComparator, getLinkedBean, getLinkedBeans, getLocalizedName, getName, getNode, getParentBean, getPath, getProperties, getProperty, getProperty, getProperty, getValueProvider, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf
getIdentifier, setIdentifier
getObjectConverter, setObjectConverter
compareTo
public String getMimeType()
HippoResourceBean
getMimeType
in interface HippoResourceBean
public String getFilename()
public BigDecimal getLengthKB()
HippoResourceBean
getLengthKB
in interface HippoResourceBean
public BigDecimal getLengthMB()
HippoResourceBean
getLengthMB
in interface HippoResourceBean
public long getLength()
getLength
in interface HippoResourceBean
public Calendar getLastModified()
getLastModified
in interface HippoResourceBean
null
if there is no last modified (should never happen though)Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.