public class JCRFile extends Object implements ModifiableFile
Text.escapeIllegalJcrChars(String)
is used for
escaping invalid JCR characters or character sequences.
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the file name.
|
Node |
getNode()
Retrieves the underlying node.
|
JCRResource |
getResource()
Returns the binary content of this file.
|
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.