Interface File
-
- All Known Subinterfaces:
ModifiableFile
- All Known Implementing Classes:
JCRFile
@Deprecated public interface File
Deprecated.org.ametys.cms.data.RichText new class doesn't use folder anymoreInterface representing a file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getName()
Deprecated.Returns the file name.Resource
getResource()
Deprecated.Returns the binary content of this file.
-
-
-
Method Detail
-
getName
String getName() throws AmetysRepositoryException
Deprecated.Returns the file name.- Returns:
- the file name.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getResource
Resource getResource() throws AmetysRepositoryException
Deprecated.Returns the binary content of this file.- Returns:
- the binary content of this file.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
-