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:File
Returns the file name.- Specified by:
getName
in interfaceFile
- Returns:
- the file name.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getResource
Deprecated.Description copied from interface:File
Returns the binary content of this file.- Specified by:
getResource
in interfaceFile
- Specified by:
getResource
in interfaceModifiableFile
- Returns:
- the binary content of this file.
- Throws:
AmetysRepositoryException
- if an error occurs.
-