|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.io.WildCardFilenameFilter
public class WildCardFilenameFilter
This class is an implementation of java.io.FilenameFilter. This FilenameFilter filters filenames using a wildcard match. Currently, only one wildcard can be used.
| Constructor Summary | |
|---|---|
WildCardFilenameFilter(java.lang.String expression)
Creates a new WildCardFilenameFilter which filters out filenames that do not match the String expression parameter. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File dir,
java.lang.String name)
Implements java.io.FilenameFilter.accept(File,String). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WildCardFilenameFilter(java.lang.String expression)
expression - This is the absolute path to wildcard match.
If the expression contains no wildcards, an exact match will be made.
If the expression is empty, all matches are accepted.| Method Detail |
|---|
public boolean accept(java.io.File dir,
java.lang.String name)
accept in interface java.io.FilenameFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||