public class File extends Object
Constructor and Description |
---|
File(javax.jcr.Node node) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getExtension() |
String |
getFileName() |
javax.jcr.Node |
getNode() |
int |
getSize() |
void |
setContentType(String contentType) |
void |
setExtension(String extension) |
void |
setFileName(String fileName) |
void |
setSize(int size) |
public static final String PROPERTIES_CONTENTNODE
public static final String PROPERTY_CONTENTTYPE
public static final String PROPERTY_ENCODING
public static final String PROPERTY_LASTMODIFIED
public static final String PROPERTY_SIZE
public static final String PROPERTY_TEMPLATE
public static final String PROPERTY_EXTENSION
public static final String PROPERTY_MIMETYPE
public static final String PROPERTY_FILENAME
public static final String PROPERTY_ICON
public static final String PROPERTY_WIDTH
public static final String PROPERTY_HEIGHT
public static final String EXTENSION
public static final String EXTENSION_LOWER_CASE
public static final String EXTENSION_UPPER_CASE
public static final String NAME
public static final String NAME_WITHOUT_EXTENSION
public static final String CONTENT_TYPE
public static final String ICON
public static final String TEMPLATE
public static final String HANDLE
public static final String PATH_WITHOUT_NAME
public static final String PATH
/en/mainColumnParagraph/04/file/report2004.Pdf
.public static final String SIZE_BYTES
263492
.public static final String SIZE_KB
257.3
.public static final String SIZE_MB
0.2
.public static final String SIZE
257.3
.public String getExtension()
public void setExtension(String extension)
public String getFileName()
public void setFileName(String fileName)
public String getContentType()
public void setContentType(String contentType)
public int getSize()
public void setSize(int size)
public javax.jcr.Node getNode()
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.