?? IOFileFilter

??????:
FileFilter, FilenameFilter, PathFilter
???????:
AbstractFileFilter, AgeFileFilter, AndFileFilter, CanExecuteFileFilter, CanReadFileFilter, CanWriteFileFilter, DelegateFileFilter, DirectoryFileFilter, EmptyFileFilter, FalseFileFilter, FileEqualsFileFilter, FileFileFilter, HiddenFileFilter, MagicNumberFileFilter, NameFileFilter, NotFileFilter, OrFileFilter, PathEqualsFileFilter, PathVisitorFileFilter, PrefixFileFilter, RegexFileFilter, SizeFileFilter, SuffixFileFilter, SymbolicLinkFileFilter, TrueFileFilter, WildcardFileFilter, WildcardFilter

An interface which brings the FileFilter, FilenameFilter, and PathFilter interfaces together.
???????:
1.0
  • ??????

  • ??????

    • accept

      boolean accept(File file)
      Checks to see if the File should be accepted by this filter.

      Defined in FileFilter.

      ???:
      accept ???? FileFilter
      ??:
      file - the File to check.
      ??:
      true if this file matches the test.
    • accept

      boolean accept(File dir, String name)
      Checks to see if the File should be accepted by this filter.

      Defined in FilenameFilter.

      ???:
      accept ???? FilenameFilter
      ??:
      dir - the directory File to check.
      name - the file name within the directory to check.
      ??:
      true if this file matches the test.
    • accept

      default FileVisitResult accept(Path path, BasicFileAttributes attributes)
      Checks to see if the Path should be accepted by this filter.
      ???:
      accept ???? PathFilter
      ??:
      path - the Path to check.
      attributes - the file's basic attributes (TODO may be null).
      ??:
      true if this path matches the test.
      ???????:
      2.9.0
    • and

      default IOFileFilter and(IOFileFilter fileFilter)
      Creates a new "and" filter with this filter.
      ??:
      fileFilter - the filter to "and".
      ??:
      a new filter.
      ???????:
      2.9.0
    • negate

      default IOFileFilter negate()
      Creates a new "not" filter with this filter.
      ??:
      a new filter.
      ???????:
      2.9.0
    • or

      default IOFileFilter or(IOFileFilter fileFilter)
      Creates a new "or" filter with this filter.
      ??:
      fileFilter - the filter to "or".
      ??:
      a new filter.
      ???????:
      2.9.0