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) |
@Deprecated 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)
@Deprecated public String getNodeDataTemplate()
@Deprecated public void setNodeDataTemplate(String nodeDataTemplate)
public int getSize()
public void setSize(int size)
public javax.jcr.Node getNode()
@Deprecated public NodeData getNodeData()
@Deprecated public InputStream getStream()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.