public class HippoResource extends HippoItem implements HippoResourceBean
HippoItem.ComparatorMap
Modifier and Type | Field and Description |
---|---|
static String |
MIME_TYPE_HIPPO_BLANK |
comparePath, detached, displayName, 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.
|
boolean |
isBlank()
If a resource contains MIME type application/vnd.hippo.blank it is marked as blank and contains no usable data.
|
attach, compareTo, detach, equalCompare, equals, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getDisplayName, getEqualComparator, getIdentifier, getLinkedBean, getLinkedBeans, getLocalizedName, getName, getNode, getObjectConverter, getParentBean, getPath, getProperties, getProperty, getProperty, getProperty, getValueProvider, hashCode, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, setComparePath, setDisplayName, setIdentifier, setLocalizedName, setName, setNode, setObjectConverter, setPath
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
equalCompare, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getDisplayName, 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 static final String MIME_TYPE_HIPPO_BLANK
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)public boolean isBlank()
isBlank
in interface HippoResourceBean
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.