public interface HippoResourceBean extends HippoBean
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
Get the file name of this resource or null if unavailable.
|
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()
Return
true if this resource contains blank data and should not be used by the frontend. |
equalCompare, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getDisplayName, getEqualComparator, getLinkedBean, getLinkedBeans, getMultipleProperty, getMultipleProperty, getName, getNode, getParentBean, getPath, getProperties, getProperty, getSingleProperty, getSingleProperty, getValueProvider, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, isVersionedNode
getIdentifier, getRepresentationId, setIdentifier
getObjectConverter, setObjectConverter
compareTo
String getMimeType()
String getFilename()
long getLength()
BigDecimal getLengthKB()
BigDecimal getLengthMB()
Calendar getLastModified()
null
if there is no last modified (should never happen though)boolean isBlank()
true
if this resource contains blank data and should not be used by the frontend.
This differs from getLength() == 0
which may represent an empty file.Copyright © 2008–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.