| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.util.file.FileSuffixFilter
A suffix based file filter.
| Field Summary | |
protected  boolean | 
ignoreCase
Flag to signal that we want to ignore the case.  | 
protected  String[] | 
suffixes
A list of suffixes which files must have to be accepted.  | 
| Constructor Summary | |
FileSuffixFilter(String suffix)
Construct a case sensitive FileSuffixFilter.  | 
|
FileSuffixFilter(String[] suffixes)
Construct a FileSuffixFilter.  | 
|
FileSuffixFilter(String[] suffixes,
                 boolean ignoreCase)
Construct a FileSuffixFilter.  | 
|
FileSuffixFilter(String suffix,
                 boolean ignoreCase)
Construct a FileSuffixFilter.  | 
|
| Method Summary | |
 boolean | 
accept(File file)
Check if a file is acceptible.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected final String[] suffixes
protected final boolean ignoreCase
| Constructor Detail | 
public FileSuffixFilter(String[] suffixes, boolean ignoreCase)
suffixes - A list of suffixes which files mut have to be accepted.ignoreCase - True if the filter should be case-insensitive.public FileSuffixFilter(String[] suffixes)
suffixes - A list of suffixes which files mut have to be accepted.public FileSuffixFilter(String suffix, boolean ignoreCase)
suffix - The suffix which files must have to be accepted.ignoreCase - True if the filter should be case-insensitive.public FileSuffixFilter(String suffix)
suffix - The suffix which files must have to be accepted.| Method Detail | 
public boolean accept(File file)
accept in interface FileFilterfile - The file to check.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||