FilenameFilters you can use in your own Java programs with
File.list( FilenameFilter f ). They can also be used
standalone as fancy dir commands.
They come with Java source and include:
AllDirectoriesFilter gets all directories
AllFilesFilter gets all files
ClamFilter simple wildcard
DirListFilter gets a list of directories
EndsWithFilter gets files whose names end with a given string.
ExtensionFilter gets files matching a list of extensions
EverythingFilter gets everything
FileLengthFilter gets short or long files
FilenameLengthFilter gets short or long filenames
FileListFilter gets a list of files
(used to be called ListFilter)
JunkFilter used to find junk files by name, extension,
startsWith or endsWith lists.
MultiFilter combines other Filters with
"consider", "must" and "never".
RecentFilter filters based on lastModified date
RegexFilter filters with Regex expressions.
StartsWithFilter
gets files whose names start with a given string.
also includes:
CommandLine parse command line and collects directory trees
FileNameFilter - FileFilter - file - filter - library
Contentwise responsible person: Canadian Mind Products, #101 - 2536 Wark Street, V8T 4G8 Victoria, BC, Canada
Roedy Green, inquiry(at)mindprod(dot)com, Phone: (250) 361-9093