|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.im4java.utils.BaseFilter
public abstract class BaseFilter
This is the base class of all FilenameFilters in this package. It provides basic directory-management (recursion, dot-dir-policy).
Constructor Summary | |
---|---|
BaseFilter()
|
Method Summary | |
---|---|
protected boolean |
acceptDir(java.io.File dir,
java.lang.String name)
Check if we should accept the given directory. |
void |
ignoreDotDirs(boolean pIgnoreDotDirs)
Ignore directories beginning with a dot. |
void |
setRecursion(boolean pRecMode)
Set the recursion-mode for this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.io.FilenameFilter |
---|
accept |
Constructor Detail |
---|
public BaseFilter()
Method Detail |
---|
public void setRecursion(boolean pRecMode)
pRecMode
- If true, recursively load filenamespublic void ignoreDotDirs(boolean pIgnoreDotDirs)
pIgnoreDotDirs
- If true, ignore hidden directoriesprotected boolean acceptDir(java.io.File dir, java.lang.String name)
|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |