public class FileUtils
extends java.lang.Object
| Constructor | Description |
|---|---|
FileUtils(java.lang.String inputName) |
Creates a new instance of FileUtils
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
recursiveList(boolean includeDirs) |
This method will creative a recursive list of file names.
|
void |
setFile(java.lang.String inputName) |
Set the file or path to operate on.
|
public FileUtils(java.lang.String inputName)
inputName - The file or path name to perform a function on.public void setFile(java.lang.String inputName)
inputName - A string representing the file name or pathpublic java.lang.String[] recursiveList(boolean includeDirs)
throws java.lang.Exception
includeDirs - true - include the directory as a separate entity in the return listjava.lang.Exception - An exception will be thrown if the user specifies a file instead of a directory