Uses of Interface
org.apache.commons.vfs2.FileSelector
-
Packages that use FileSelector Package Description org.apache.commons.vfs2 The public VFS API.org.apache.commons.vfs2.cache VFS File caching.org.apache.commons.vfs2.impl The standard VFS implementation.org.apache.commons.vfs2.provider The File Provider API, and utility classes.org.apache.commons.vfs2.provider.local The Local File Provider. -
-
Uses of FileSelector in org.apache.commons.vfs2
Classes in org.apache.commons.vfs2 that implement FileSelector Modifier and Type Class Description classAllFileSelectorAFileSelectorthat selects everything.classFileDepthSelectorAFileSelectorthat selects all files in a particular depth range.classFileExtensionSelectorAFileSelectorthat selects based on file extensions.classFileFilterSelectorAFileSelectorthat selects all children of the given fileObject.classFileTypeSelectorAFileSelectorthat selects files of a particular type.classInvertIncludeFileSelectorInverts file inclusion of a delegate FileSelector, folder traversal is delegated.classPatternFileSelectorAFileSelectorthat selects based on regular expressions.Fields in org.apache.commons.vfs2 declared as FileSelector Modifier and Type Field Description static FileSelectorSelectors. EXCLUDE_SELFAFileSelectorthat selects all the descendants of the base folder, but does not select the base folder itself.static FileSelectorSelectors. SELECT_ALLAFileSelectorthat selects the base file/folder, plus all its descendants.static FileSelectorSelectors. SELECT_CHILDRENAFileSelectorthat selects only the direct children of the base folder.static FileSelectorSelectors. SELECT_FILESAFileSelectorthat only files (not folders).static FileSelectorSelectors. SELECT_FOLDERSAFileSelectorthat only folders (not files).static FileSelectorSelectors. SELECT_SELFAFileSelectorthat selects only the base file/folder.static FileSelectorSelectors. SELECT_SELF_AND_CHILDRENAFileSelectorthat selects the base file/folder and its direct children.Methods in org.apache.commons.vfs2 with parameters of type FileSelector Modifier and Type Method Description voidFileObject. copyFrom(FileObject srcFile, FileSelector selector)Copies another file, and all its descendants, to this file.intFileObject. delete(FileSelector selector)Deletes all descendants of this file that match a selector.FileObject[]FileObject. findFiles(FileSelector selector)Finds the set of matching descendants of this file, in depthwise order.voidFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)Finds the set of matching descendants of this file.java.io.FileFileSystem. replicateFile(FileObject file, FileSelector selector)Creates a temporary local copy of a file and its descendants.Constructors in org.apache.commons.vfs2 with parameters of type FileSelector Constructor Description InvertIncludeFileSelector(FileSelector delegateFileSelector)Constructs a new instance. -
Uses of FileSelector in org.apache.commons.vfs2.cache
Methods in org.apache.commons.vfs2.cache with parameters of type FileSelector Modifier and Type Method Description voidOnCallRefreshFileObject. copyFrom(FileObject srcFile, FileSelector selector)intOnCallRefreshFileObject. delete(FileSelector selector)FileObject[]OnCallRefreshFileObject. findFiles(FileSelector selector)voidOnCallRefreshFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected) -
Uses of FileSelector in org.apache.commons.vfs2.impl
Methods in org.apache.commons.vfs2.impl with parameters of type FileSelector Modifier and Type Method Description voidDecoratedFileObject. copyFrom(FileObject srcFile, FileSelector selector)voidSynchronizedFileObject. copyFrom(FileObject srcFile, FileSelector selector)intDecoratedFileObject. delete(FileSelector selector)intSynchronizedFileObject. delete(FileSelector selector)FileObject[]DecoratedFileObject. findFiles(FileSelector selector)voidDecoratedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)FileObject[]SynchronizedFileObject. findFiles(FileSelector selector)voidSynchronizedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)java.io.FileDefaultFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendants.java.io.FilePrivilegedFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendants. -
Uses of FileSelector in org.apache.commons.vfs2.provider
Methods in org.apache.commons.vfs2.provider with parameters of type FileSelector Modifier and Type Method Description voidAbstractFileObject. copyFrom(FileObject file, FileSelector selector)Copies another file to this file.intAbstractFileObject. delete(FileSelector selector)Deletes this file, and all children matching theselector.protected java.io.FileAbstractFileSystem. doReplicateFile(FileObject file, FileSelector selector)Creates a temporary local copy of a file and its descendants.FileObject[]AbstractFileObject. findFiles(FileSelector selector)Finds the set of matching descendants of this file, in depthwise order.voidAbstractFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)Traverses the descendants of this file, and builds a list of selected files.java.util.List<FileObject>AbstractFileObject. listFiles(FileSelector selector)Lists the set of matching descendants of this file, in depthwise order.java.io.FileAbstractFileSystem. replicateFile(FileObject file, FileSelector selector)Creates a temporary local copy of a file and its descendants.java.io.FileFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendants. -
Uses of FileSelector in org.apache.commons.vfs2.provider.local
Methods in org.apache.commons.vfs2.provider.local with parameters of type FileSelector Modifier and Type Method Description protected java.io.FileLocalFileSystem. doReplicateFile(FileObject fileObject, FileSelector selector)Creates a temporary local copy of a file and its descendants.
-