Class MatchFilter
java.lang.Object
org.eclipse.nebula.widgets.xviewer.util.internal.MatchFilter
- All Implemented Interfaces:
java.io.FilenameFilter
public class MatchFilter
extends java.lang.Object
implements java.io.FilenameFilter
-
Field Summary
Fields Modifier and Type Field Description protected java.util.regex.Matcher
matcher
-
Constructor Summary
Constructors Constructor Description MatchFilter(java.lang.String pattern)
-
Method Summary
Modifier and Type Method Description boolean
accept(java.io.File dir, java.lang.String fileName)
-
Field Details
-
matcher
protected java.util.regex.Matcher matcher
-
-
Constructor Details
-
MatchFilter
public MatchFilter(java.lang.String pattern)
-
-
Method Details
-
accept
public boolean accept(java.io.File dir, java.lang.String fileName)- Specified by:
accept
in interfacejava.io.FilenameFilter
-