public interface VFSContainer extends VFSItem
Initial Date: 23.06.2005
限定符和类型 | 方法和说明 |
---|---|
VFSStatus |
copyFrom(VFSItem source)
copy either a file or a folder to this folder. e.g. this folder is based at /bla/blu, copying source bli (from /whatever/bli) will add a child bli, so it looks
like /bla/blu/bli later. the operation fails when the source or target do not support canCopyFrom and canCopyTo, resp., or there is already a child with the same
name, or the quota would be exceeded.
|
VFSContainer |
createChildContainer(java.lang.String name)
Create a new child container (of same type) if possible.
|
VFSLeaf |
createChildLeaf(java.lang.String name)
Create a new leaf (of same type) if possible,
|
VFSStatus |
deleteItems() |
VFSItemFilter |
getDefaultItemFilter() |
java.util.List<VFSItem> |
getItems() |
java.util.List<VFSItem> |
getItems(VFSItemFilter filter) |
void |
setDefaultItemFilter(VFSItemFilter defaultFilter)
Set a default filter that will be applied to this container getItems method
|
canCopy, canDelete, canRename, canWrite, delete, exists, getLastModified, getLocalSecurityCallback, getName, getParentContainer, getPath, isSame, rename, resolve, setLocalSecurityCallback, setParentContainer
java.util.List<VFSItem> getItems()
java.util.List<VFSItem> getItems(VFSItemFilter filter)
VFSStatus copyFrom(VFSItem source)
source
- the source (must exist)VFSContainer createChildContainer(java.lang.String name)
name
- VFSLeaf createChildLeaf(java.lang.String name)
name
- void setDefaultItemFilter(VFSItemFilter defaultFilter)
defaultFilter
- VFSItemFilter getDefaultItemFilter()
VFSStatus deleteItems()