jodd.io.findfile
Class WildcardFindFile
java.lang.Object
jodd.io.findfile.FindFile
jodd.io.findfile.WildcardFindFile
public class WildcardFindFile
- extends FindFile
FindFile that matches file names using *, ?
and ** wildcards.
- See Also:
RegExpFindFile
|
Field Summary |
protected java.lang.String |
pattern
|
|
Method Summary |
protected boolean |
acceptFile(java.io.File currentFile)
Called on each file entry (file or directory) and returns true
if file passes search criteria. |
java.lang.String |
getPattern()
Returns the matching wildcard pattern. |
void |
setPattern(java.lang.String pattern)
Sets the matching wildcard pattern. |
| Methods inherited from class jodd.io.findfile.FindFile |
addSearchPath, isIncludeDirs, isIncludeFiles, isListSubfilesAfterFolder, isRecursive, iterator, listFiles, nextFile, searchPath, searchPath, searchPath, searchPath, searchPath, searchPath, searchPath, searchPath, setIncludeDirs, setIncludeFiles, setListSubfilesAfterFolder, setRecursive |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pattern
protected java.lang.String pattern
WildcardFindFile
public WildcardFindFile()
WildcardFindFile
public WildcardFindFile(java.lang.String pattern)
getPattern
public java.lang.String getPattern()
- Returns the matching wildcard pattern.
setPattern
public void setPattern(java.lang.String pattern)
- Sets the matching wildcard pattern.
acceptFile
protected boolean acceptFile(java.io.File currentFile)
- Description copied from class:
FindFile
- Called on each file entry (file or directory) and returns
true
if file passes search criteria.
- Overrides:
acceptFile in class FindFile
Copyright © 2003-2012 Jodd Team