| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcynosurex.io.FileSpecFilter
public class FileSpecFilter
This FilenameFilter allows the matching of files with '*' and '?' that are normal on the command-line.
| Constructor Summary | |
|---|---|
FileSpecFilter(java.lang.String fileSpec)
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 FileSpecFilter(java.lang.String fileSpec)
fileSpec - The file spec 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 | ||||||||