info.magnolia.cms.beans.runtime
Class FileProperties
java.lang.Object
info.magnolia.cms.beans.runtime.FileProperties
public class FileProperties
- extends Object
Similar to info.magnolia.cms.beans.runtime.File but exposes the binary's properties using constants.
- Version:
- 2.0
- Author:
- Vinzenz Wyser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTIES_CONTENTNODE
public static final String PROPERTIES_CONTENTNODE
- See Also:
- Constant Field Values
PROPERTY_CONTENTTYPE
public static final String PROPERTY_CONTENTTYPE
- See Also:
- Constant Field Values
PROPERTY_ENCODING
public static final String PROPERTY_ENCODING
- See Also:
- Constant Field Values
PROPERTY_LASTMODIFIED
public static final String PROPERTY_LASTMODIFIED
- See Also:
- Constant Field Values
PROPERTY_SIZE
public static final String PROPERTY_SIZE
- See Also:
- Constant Field Values
PROPERTY_TEMPLATE
public static final String PROPERTY_TEMPLATE
- See Also:
- Constant Field Values
PROPERTY_EXTENSION
public static final String PROPERTY_EXTENSION
- See Also:
- Constant Field Values
PROPERTY_MIMETYPE
public static final String PROPERTY_MIMETYPE
- See Also:
- Constant Field Values
PROPERTY_FILENAME
public static final String PROPERTY_FILENAME
- See Also:
- Constant Field Values
PROPERTY_ICON
public static final String PROPERTY_ICON
- See Also:
- Constant Field Values
PROPERTY_WIDTH
public static final String PROPERTY_WIDTH
- See Also:
- Constant Field Values
PROPERTY_HEIGHT
public static final String PROPERTY_HEIGHT
- See Also:
- Constant Field Values
EXTENSION
public static final String EXTENSION
- See Also:
- Constant Field Values
EXTENSION_LOWER_CASE
public static final String EXTENSION_LOWER_CASE
- See Also:
- Constant Field Values
EXTENSION_UPPER_CASE
public static final String EXTENSION_UPPER_CASE
- See Also:
- Constant Field Values
NAME
public static final String NAME
- See Also:
- Constant Field Values
NAME_WITHOUT_EXTENSION
public static final String NAME_WITHOUT_EXTENSION
- See Also:
- Constant Field Values
CONTENT_TYPE
public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
ICON
public static final String ICON
- See Also:
- Constant Field Values
TEMPLATE
public static final String TEMPLATE
- See Also:
- Constant Field Values
HANDLE
public static final String HANDLE
- See Also:
- Constant Field Values
PATH_WITHOUT_NAME
public static final String PATH_WITHOUT_NAME
- /en/mainColumnParagraph/04/file.Pdf.
- See Also:
- Constant Field Values
PATH
public static final String PATH
- path including fileName:
/en/mainColumnParagraph/04/file/report2004.Pdf
.
- See Also:
- Constant Field Values
SIZE_BYTES
public static final String SIZE_BYTES
- size in bytes:
263492
.
- See Also:
- Constant Field Values
SIZE_KB
public static final String SIZE_KB
- size in KB:
257.3
.
- See Also:
- Constant Field Values
SIZE_MB
public static final String SIZE_MB
- size in MB:
0.2
.
- See Also:
- Constant Field Values
SIZE
public static final String SIZE
- size and unit depending of size in bytes, KB, or MB:
257.3
.
- See Also:
- Constant Field Values
FileProperties
public FileProperties(Content content,
String nodeDataName)
setContent
public void setContent(Content c)
getContent
public Content getContent()
setNodeDataName
public void setNodeDataName(String s)
getNodeDataName
public String getNodeDataName()
getProperty
public String getProperty(String property)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.