Uses of Interface
org.apache.commons.io.file.PathFilter
Packages that use PathFilter
-
Uses of PathFilter in org.apache.commons.io.file
Methods in org.apache.commons.io.file that return PathFilterMethods in org.apache.commons.io.file with parameters of type PathFilterModifier and TypeMethodDescriptionstatic Path[]PathUtils.filter(PathFilter filter, Path... paths) Applies anIOFileFilterto the providedFileobjects.static DirectoryStream<Path>PathUtils.newDirectoryStream(Path dir, PathFilter pathFilter) Creates a new DirectoryStream for Paths rooted at the given directory.PathUtils.walk(Path start, PathFilter pathFilter, int maxDepth, boolean readAttributes, FileVisitOption... options) Returns a stream of filtered paths.static AccumulatorPathVisitorAccumulatorPathVisitor.withBigIntegerCounters(PathFilter fileFilter, PathFilter dirFilter) Constructs a new instance configured with a BigIntegerCounters.PathCounters.static AccumulatorPathVisitorAccumulatorPathVisitor.withLongCounters(PathFilter fileFilter, PathFilter dirFilter) Constructs a new instance configured with a longCounters.PathCounters.Constructors in org.apache.commons.io.file with parameters of type PathFilterModifierConstructorDescriptionAccumulatorPathVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter) Constructs a new instance.AccumulatorPathVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter, IOBiFunction<Path, IOException, FileVisitResult> visitFileFailed) Constructs a new instance.CopyDirectoryVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter, Path sourceDirectory, Path targetDirectory, CopyOption... copyOptions) Constructs a new visitor that deletes files except for the files and directories explicitly given.CountingPathVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter) Constructs a new instance.CountingPathVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter, IOBiFunction<Path, IOException, FileVisitResult> visitFileFailed) Constructs a new instance.DirectoryStreamFilter(PathFilter pathFilter) Constructs a new instance for the given path filter. -
Uses of PathFilter in org.apache.commons.io.filefilter
Subinterfaces of PathFilter in org.apache.commons.io.filefilterModifier and TypeInterfaceDescriptioninterfaceAn interface which brings theFileFilter,FilenameFilter,PathFilter, andPathMatcherinterfaces together.Classes in org.apache.commons.io.filefilter that implement PathFilterModifier and TypeClassDescriptionclassAbstracts the implementation of theFileFilter(IO),FilenameFilter(IO),PathFilter(NIO) interfaces via our ownIOFileFilterinterface.classFilters files based on a cutoff time, can filter either newer files or files equal to or older.classAFileFilterproviding conditional AND logic across a list of file filters.classThis filter acceptsFiles that can be executed.classThis filter acceptsFiles that can be read.classThis filter acceptsFiles that can be written to.classThis class turns a Java FileFilter or FilenameFilter into an IO FileFilter.classThis filter acceptsFiles that are directories.classThis filter accepts files or directories that are empty.classA file filter that always returns false.classAccepts only an exactFileobject match.classThis filter acceptsFiles that are files (not directories).classThis filter acceptsFiles that are hidden.classFile filter for matching files containing a "magic number".classFilters file names for a certain name.classThis filter produces a logical NOT of the filters specified.classAFileFilterproviding conditional OR logic across a list of file filters.classAccepts only an exactPathobject match.classDelegates matching to aPathMatcher.classA file filter backed by a path visitor.classFilters file names for a certain prefix.classFilters files using supplied regular expression(s).classFilters files based on size, can filter either smaller files or files equal to or larger than a given threshold.classFilters files based on the suffix (what the file name ends with).classThis filter acceptsFiles that are symbolic links.classA file filter that always returns true.classFilters files using the supplied wildcards.classDeprecated.Use WildcardFileFilter.