Class ExistsAndReadableFileFilter

    • Field Summary

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

        EMPTY_STRING_ARRAY
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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 interface org.apache.commons.io.filefilter.IOFileFilter

        accept, and, negate, or
    • Constructor Detail

      • ExistsAndReadableFileFilter

        public ExistsAndReadableFileFilter()
    • Method Detail

      • 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