public class File extends Object
Constructor and Description |
---|
File(javax.jcr.Node node) |
File(NodeData data)
Deprecated.
Since 5.0 use File(Node)
|
Modifier and Type | Method and Description |
---|---|
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) |
public File(NodeData data)
public File(javax.jcr.Node node)
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()
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.