|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.beans.runtime.File
public class File
Wraps a NodeData and exposes it into a simple file-like bean.
Constructor Summary | |
---|---|
File(javax.jcr.Node node)
|
|
File(NodeData data)
Deprecated. Since 5.0 use File(Node) |
Method Summary | |
---|---|
String |
getContentType()
|
String |
getExtension()
|
String |
getFileName()
|
javax.jcr.Node |
getNode()
|
NodeData |
getNodeData()
Deprecated. Since 5.0 use getNode(Node) instead. |
String |
getNodeDataTemplate()
Deprecated. Since 5.0. |
int |
getSize()
|
InputStream |
getStream()
Deprecated. Since 5.0, unsupported on Node API. |
void |
setContentType(String contentType)
|
void |
setExtension(String extension)
|
void |
setFileName(String fileName)
|
void |
setNodeDataTemplate(String nodeDataTemplate)
Deprecated. Since 5.0. |
void |
setSize(int size)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public File(NodeData data)
public File(javax.jcr.Node node)
Method Detail |
---|
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 String getNodeDataTemplate()
public void setNodeDataTemplate(String nodeDataTemplate)
public int getSize()
public void setSize(int size)
public javax.jcr.Node getNode()
public NodeData getNodeData()
public InputStream getStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |