Package org.plumelib.util
Class FilesPlume.WildcardFilter
java.lang.Object
org.plumelib.util.FilesPlume.WildcardFilter
- All Implemented Interfaces:
FilenameFilter
- Enclosing class:
- FilesPlume
A FilenameFilter that accepts files whose name matches the given wildcard. The wildcard must
contain exactly one "*".
-
Constructor Summary
ConstructorDescriptionWildcardFilter
(String wildcard) Create a filter that accepts files whose name matches the given wildcard. -
Method Summary
-
Constructor Details
-
WildcardFilter
Create a filter that accepts files whose name matches the given wildcard.- Parameters:
wildcard
- a string that must contain exactly one "*"
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceFilenameFilter
-