public class FileListFilter extends LooperBase implements java.io.FileFilter
currentName, debugKey, isNameEntryPattern, isNamePattern, nameList, namePattern| Constructor and Description |
|---|
FileListFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File f) |
boolean |
isListDirs() |
boolean |
isListFiles() |
boolean |
isStripNumExt() |
protected void |
processObjectByName(java.lang.String name)
Abstract function which is called for each object whose name matches the filters.
|
void |
setListDirs(boolean listDirs) |
void |
setListFiles(boolean listFiles) |
void |
setStripNumExt(boolean stripNumExt) |
checkName, checkName, checkNameAgainstList, checkNameAgainstList, getDebugKey, getIsNamePattern, getNameList, getNamePattern, setDebugKey, setIsNamePattern, setNameList, setNameList, setNamePatternpublic boolean accept(java.io.File f)
accept in interface java.io.FileFilterprotected void processObjectByName(java.lang.String name)
throws JLIException,
com.ptc.cipjava.jxthrowable
LooperBaseprocessObjectByName in class LooperBasename - The name of the object that matched the filtersJLIExceptioncom.ptc.cipjava.jxthrowablepublic boolean isListDirs()
public void setListDirs(boolean listDirs)
listDirs - Whether to include directories in the listingpublic boolean isListFiles()
public void setListFiles(boolean listFiles)
listFiles - Whether to include files in the listingpublic boolean isStripNumExt()
public void setStripNumExt(boolean stripNumExt)
stripNumExt - Whether to strip the numeric revision extension from file names