|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcynosurex.io.RegExFilenameFilter
public class RegExFilenameFilter
This FilenameFilter allows the matching of files with regular expression.
| Constructor Summary | |
|---|---|
RegExFilenameFilter(java.lang.String regex)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File dir,
java.lang.String fileName)
This method called by the File object to determine whether to accept a filename. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegExFilenameFilter(java.lang.String regex)
regex - The regular expression to match.| Method Detail |
|---|
public boolean accept(java.io.File dir,
java.lang.String fileName)
accept in interface java.io.FilenameFilterdir - The directory where the file is located.fileName - The name of the file.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||