|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Folder
Represents a folder in the WebDAV repository.
Defines methods that WebDAV server folder items must implement.
In addition to methods provided by HierarchyItem this interface also provides
methods for creating folders and files and enumerating folder children.
| Method Summary | |
|---|---|
File |
createFile(java.lang.String name)
Creates new WebDAV file with the specified name in this folder. |
void |
createFolder(java.lang.String name)
Creates new WebDAV folder with the specified name in this folder. |
java.util.List<? extends HierarchyItem> |
getChildren()
Gets the array of this folder's children. |
| Methods inherited from interface com.ithit.webdav.server.HierarchyItem |
|---|
copyTo, delete, getCreated, getModified, getName, getPath, getProperties, getPropertyNames, moveTo, updateProperties |
| Method Detail |
|---|
java.util.List<? extends HierarchyItem> getChildren()
throws ServerException
HierarchyItem objects. Each item is a file or folder item.
ServerException - In case of an error.
File createFile(java.lang.String name)
throws LockedException,
ServerException
name - Name of the file to create.
File.
LockedException - This folder was locked. Client did not provide the lock token.
ServerException - In case of an error.
void createFolder(java.lang.String name)
throws LockedException,
ServerException
name - Name of the folder to create.
LockedException - This folder was locked. Client did not provide the lock token.
ServerException - In case of an error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||