|
|||||||||
| Home >> All >> org >> websody >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.websody.util
Class RegexpFileFilter

java.lang.Objectorg.websody.util.RegexpFileFilter
- All Implemented Interfaces:
- java.io.FileFilter
- public class RegexpFileFilter
- extends java.lang.Object
- implements java.io.FileFilter
- extends java.lang.Object
FileFilter that can be configured with regular expressions.
| Field Summary | |
private boolean |
acceptAllDirectories
|
private java.io.File |
baseDir
|
private java.lang.String |
basePath
|
private org.apache.regexp.RE[] |
exclude
|
private org.apache.regexp.RE[] |
include
|
| Constructor Summary | |
RegexpFileFilter(java.io.File baseDir,
java.lang.String[] include,
java.lang.String[] exclude)
|
|
| Method Summary | |
boolean |
accept(java.io.File f)
This method determines whether or not a given pathname should be included in a pathname listing. |
private boolean |
isExcluded(java.lang.String path)
|
private boolean |
isIncluded(java.lang.String path)
|
void |
setAcceptAllDirectories(boolean b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
baseDir
private java.io.File baseDir
basePath
private java.lang.String basePath
acceptAllDirectories
private boolean acceptAllDirectories
include
private org.apache.regexp.RE[] include
exclude
private org.apache.regexp.RE[] exclude
| Constructor Detail |
RegexpFileFilter
public RegexpFileFilter(java.io.File baseDir, java.lang.String[] include, java.lang.String[] exclude) throws org.apache.regexp.RESyntaxException
| Method Detail |
setAcceptAllDirectories
public void setAcceptAllDirectories(boolean b)
accept
public boolean accept(java.io.File f)
- Description copied from interface:
java.io.FileFilter - This method determines whether or not a given pathname should be included
in a pathname listing.
- Specified by:
acceptin interfacejava.io.FileFilter
isIncluded
private boolean isIncluded(java.lang.String path)
isExcluded
private boolean isExcluded(java.lang.String path)
|
|||||||||
| Home >> All >> org >> websody >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.websody.util.RegexpFileFilter