|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GBXFilter
This is and implementation of the FilenameFilter interface used to filter all files other than *.gbx.
Field Summary | |
(package private) java.lang.String |
afn
The alternate filter name |
(package private) static java.lang.String |
filter
Default filter string. |
Constructor Summary | |
GBXFilter()
Default constructor. |
|
GBXFilter(java.lang.String afn)
This constructor sets the name of the filter. |
Method Summary | |
boolean |
accept(java.io.File dir,
java.lang.String name)
Test to see whether a file should be included in the file list or not. |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final java.lang.String filter
java.lang.String afn
Constructor Detail |
public GBXFilter(java.lang.String afn)
afn
- alternate filter namepublic GBXFilter()
Method Detail |
public boolean accept(java.io.File dir, java.lang.String name)
dir
- the name of the directory in which the file was found.name
- the filename
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |