Class ExistsAndReadableFileFilter

java.lang.Object
org.apache.commons.io.filefilter.AbstractFileFilter
org.jvnet.hudson.plugins.thinbackup.utils.ExistsAndReadableFileFilter
All Implemented Interfaces:
FileFilter, FilenameFilter, Serializable, FileVisitor<Path>, PathMatcher, org.apache.commons.io.file.PathFilter, org.apache.commons.io.file.PathVisitor, org.apache.commons.io.filefilter.IOFileFilter

public class ExistsAndReadableFileFilter extends org.apache.commons.io.filefilter.AbstractFileFilter implements Serializable
See Also:
  • Field Summary

    Fields inherited from interface org.apache.commons.io.filefilter.IOFileFilter

    EMPTY_STRING_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.commons.io.filefilter.IOFileFilter
    wrapperFilter(org.apache.commons.io.filefilter.IOFileFilter filter)
    Wraps the supplied filter to make if safe against broken symlinks and missing read permissions

    Methods inherited from class org.apache.commons.io.filefilter.AbstractFileFilter

    accept, accept, handle, postVisitDirectory, preVisitDirectory, toString, visitFile, visitFileFailed

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.commons.io.filefilter.IOFileFilter

    accept, and, matches, negate, or
  • Constructor Details

    • ExistsAndReadableFileFilter

      public ExistsAndReadableFileFilter()
  • Method Details

    • wrapperFilter

      public static org.apache.commons.io.filefilter.IOFileFilter wrapperFilter(org.apache.commons.io.filefilter.IOFileFilter filter)
      Wraps the supplied filter to make if safe against broken symlinks and missing read permissions
      Parameters:
      filter - The core filter that'll be wrapped inside safety checks
      Returns:
      The wrapped file filter