|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rj.tools.util.FileFinder
FileFinder
is helper clas which assists in getting all files
from a folder. A filter can be used to match certain patterns. Also a recuresive
descent to getValue files from subfolder is supported.
Constructor Summary | |
FileFinder(java.lang.String folder,
boolean recursive)
Constructor |
|
FileFinder(java.lang.String folder,
java.io.FileFilter filter,
boolean recursive)
Constructor |
Method Summary | |
java.util.Collection |
getDirectories()
getDirectories returns a collection of directories found in the directorie(s) being searched. |
java.util.Collection |
getFiles()
getFiles return the collection of files found |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileFinder(java.lang.String folder, boolean recursive)
folder
- - folder to listrecursive
- - descend into subfolderspublic FileFinder(java.lang.String folder, java.io.FileFilter filter, boolean recursive)
folder
- - folder to listfilter
- - filter criteriarecursive
- - descend into subfoldersMethod Detail |
public java.util.Collection getFiles()
public java.util.Collection getDirectories()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |