@Deprecated public class JCRFile extends Object implements ModifiableFile
Text.escapeIllegalJcrChars(String) is used for
escaping invalid JCR characters or character sequences.
| Constructor and Description |
|---|
JCRFile(Node node)
Deprecated.
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Deprecated.
Returns the file name.
|
Node |
getNode()
Deprecated.
Retrieves the underlying node.
|
JCRResource |
getResource()
Deprecated.
Returns the binary content of this file.
|
public Node getNode()
public String getName() throws AmetysRepositoryException
FilegetName in interface FileAmetysRepositoryException - if an error occurs.public JCRResource getResource() throws AmetysRepositoryException
FilegetResource in interface FilegetResource in interface ModifiableFileAmetysRepositoryException - if an error occurs.