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>
,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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExistsAndReadableFileFilter()
-
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
-
-
-
-
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
-
-