Class JCRFile
java.lang.Object
org.ametys.plugins.repository.metadata.jcr.JCRFile
- All Implemented Interfaces:
 File,ModifiableFile
Deprecated.
org.ametys.cms.data.RichText new class doesn't use folder anymore
Java binding of a nt:file JCR Node.
 Text.escapeIllegalJcrChars(String) is used for
 escaping invalid JCR characters or character sequences.
- 
Constructor Details
- 
JCRFile
Deprecated.Constructor- Parameters:
 node- the nt:file Node
 
 - 
 - 
Method Details
- 
getNode
Deprecated.Retrieves the underlying node.- Returns:
 - the underlying node.
 
 - 
getName
Deprecated.Description copied from interface:FileReturns the file name.- Specified by:
 getNamein interfaceFile- Returns:
 - the file name.
 - Throws:
 AmetysRepositoryException- if an error occurs.
 - 
getResource
Deprecated.Description copied from interface:FileReturns the binary content of this file.- Specified by:
 getResourcein interfaceFile- Specified by:
 getResourcein interfaceModifiableFile- Returns:
 - the binary content of this file.
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
 -