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
FilegetName in interface FileAmetysRepositoryException - if an error occurs.public JCRResource getResource() throws AmetysRepositoryException
FilegetResource in interface FilegetResource in interface ModifiableFileAmetysRepositoryException - if an error occurs.