FilenameFilters 2.7

License: Free ‎File size: 151.55 KB
‎Users Rating: 3.7/5 - ‎3 ‎votes

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. EverythingFilter gets everything ExtensionListFilter gets files matching a list of extensions FileLengthFilter gets short or long files FileListFilter gets a list of files (used to be called ListFilter) FilenameLengthFilter gets short or long filenames JunkFilter used to find junk files by name, extension, startsWith or endsWith lists. MultiFilter combines other Filters with "consider", "must" and "never". NoFootFilter includes *.html but excludes *.foot.html RecentFilter filters based on lastModified date RegexFilter filters with Regex expressions. StandAndEndWithFilter - include/exclude depending on start/endings of filenames StartsWithFilter gets files whose names start with a given string.

VERSION HISTORY

  • Version 2.7 posted on 2010-11-22
    add optional invert parameter to many of the fileters
  • Version 2.3 posted on 2007-08-27
    add JunkFilter

Program Details