|
|||||||||
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()
|
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
read(java.lang.String dir,
boolean recurse,
boolean includeDirs,
java.lang.String[] extensions)
Retrieves all files and directories from the given locations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Directory()
Method Detail |
---|
public static java.util.List<java.lang.String> read(java.lang.String dir, boolean recurse, boolean includeDirs, java.lang.String[] extensions)
installationDir
- starting location for reading dataconfirm
- ask for confirmation for each directoryrecurse
- read sub directoriesincludeDirs
- 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 |