@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
File
getName
in interface File
AmetysRepositoryException
- if an error occurs.public JCRResource getResource() throws AmetysRepositoryException
File
getResource
in interface File
getResource
in interface ModifiableFile
AmetysRepositoryException
- if an error occurs.