@Deprecated public interface Folder
Modifier and Type | Method and Description |
---|---|
File |
getFile(String fileName)
Deprecated.
Returns the file with the specified name.
|
Collection<? extends File> |
getFiles()
Deprecated.
Returns a Collection containing all files of this folder.
|
Folder |
getFolder(String folderName)
Deprecated.
Returns the folder with the specified name.
|
Collection<? extends Folder> |
getFolders()
Deprecated.
Returns a Collection containing all subfolders of this folder.
|
String |
getName()
Deprecated.
Returns the folder name.
|
boolean |
hasFile(String fileName)
Deprecated.
Tests the existence of a file.
|
String getName() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.Collection<? extends Folder> getFolders() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occursFolder getFolder(String folderName) throws UnknownMetadataException, AmetysRepositoryException
folderName
- the name of the folder.UnknownMetadataException
- if the folder does not exist.AmetysRepositoryException
- if an error occurs.Collection<? extends File> getFiles() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.boolean hasFile(String fileName) throws AmetysRepositoryException
fileName
- the name of the file.AmetysRepositoryException
- if an error occurs.File getFile(String fileName) throws UnknownMetadataException, AmetysRepositoryException
fileName
- the name of the file.UnknownMetadataException
- if the folder does not exist.AmetysRepositoryException
- if an error occurs.