|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.util.FileFinder
public class FileFinder
This class can be used to instanciate an object for findng files of certain file extensions in a specified directory and all its subdirectories
| Method Summary | |
|---|---|
java.lang.String[] |
getAbsoluteFilePathes(java.lang.String startDirectory,
java.lang.String ext)
Returns the absolute file pathes of every found file. |
java.util.List<java.io.File> |
getFiles(java.lang.String startDirectory,
java.lang.String ext)
Returns a list of found files (no absolute file pathes). |
static FileFinder |
getInstance()
Returns the singleton instance of the file finder. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FileFinder getInstance()
public java.util.List<java.io.File> getFiles(java.lang.String startDirectory,
java.lang.String ext)
startDirectory - diretory to start in looking for filesext - file extension to look for, e.g. ".txt" or ".bsh"
public java.lang.String[] getAbsoluteFilePathes(java.lang.String startDirectory,
java.lang.String ext)
startDirectory - diretory to start in looking for filesext - file extension to look for, e.g. ".txt" or ".bsh"
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||