Package adalid.util.io
Class RegexPathFilter
- java.lang.Object
-
- adalid.util.io.RegexPathFilter
-
- All Implemented Interfaces:
FileFilter,FilenameFilter,org.apache.commons.io.filefilter.IOFileFilter
public class RegexPathFilter extends Object implements org.apache.commons.io.filefilter.IOFileFilter
- Author:
- Jorge Campins
-
-
Constructor Summary
Constructors Constructor Description RegexPathFilter(String pattern)
-
-
-
Field Detail
-
SEPARATOR
public static final String SEPARATOR
-
-
Constructor Detail
-
RegexPathFilter
public RegexPathFilter(String pattern)
-
-
Method Detail
-
accept
public boolean accept(File dir)
- Specified by:
acceptin interfaceFileFilter- Specified by:
acceptin interfaceorg.apache.commons.io.filefilter.IOFileFilter
-
accept
public boolean accept(File dir, String name)
- Specified by:
acceptin interfaceFilenameFilter- Specified by:
acceptin interfaceorg.apache.commons.io.filefilter.IOFileFilter
-
-