|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.geneticmining.analysis.duplicates.RetrieveFiles
public class RetrieveFiles
This class retrieves all the files that have a certain termination in a directory and, if required, all of its subdirectories.
Constructor Summary | |
---|---|
RetrieveFiles(java.lang.String rootDirFiles,
java.lang.String fileTermination,
boolean includeSubdirectories)
|
Method Summary | |
---|---|
static void |
checkIfDirectoryExists(java.io.File directory)
Checks if a given directory exists. |
java.io.File[] |
getFiles()
Lists all the found files. |
java.lang.String[] |
getNames()
List the names of the found files. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RetrieveFiles(java.lang.String rootDirFiles, java.lang.String fileTermination, boolean includeSubdirectories) throws java.io.FileNotFoundException
java.io.FileNotFoundException
Method Detail |
---|
public java.io.File[] getFiles()
public java.lang.String[] getNames()
public static void checkIfDirectoryExists(java.io.File directory) throws java.io.FileNotFoundException
java.io.FileNotFoundException
- if the provided "directory" does not exists or is not a directory.public static void main(java.lang.String[] args) throws java.io.FileNotFoundException
java.io.FileNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |