net.hblok.io
Class RegexFileFilter
java.lang.Object
net.hblok.io.RegexFileFilter
- All Implemented Interfaces:
- FileFilter
public class RegexFileFilter
- extends Object
- implements FileFilter
Filefilter where the full canonical path name is matched against
the regular expression string given as a constructor to this filter.
- Author:
- Havard Rast Blok
RegexFileFilter
public RegexFileFilter(String regex)
accept
public boolean accept(File pathname)
- Specified by:
accept in interface FileFilter
toString
public String toString()
- Overrides:
toString in class Object