|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.util.Directory
public class Directory
Reads all files from a specific location
Constructor Summary | |
---|---|
Directory(java.lang.String path,
boolean recurse,
java.lang.String[] extensions)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
read()
Retrieves all files and directories from the given locations |
void |
setListener(ITaskListener listener)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Directory(java.lang.String path, boolean recurse, java.lang.String[] extensions)
Method Detail |
---|
public void setListener(ITaskListener listener)
public java.util.List<java.lang.String> read()
installationDir
- starting location for reading dataconfirm
- ask for confirmation for each directoryrecurse
- read sub directoriesdirs
- allow directory names in the resultvExtensions
- extensions to filter onlogInformation
- write messages to the screen and the log
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |