|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanecho.util.FileUtils
public class FileUtils
This class contains some basic file utilities such as recursive directory listings.
| Constructor Summary | |
|---|---|
FileUtils(java.lang.String inputName)
Creates a new instance of FileUtils |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUtils(java.lang.String inputName)
inputName - The file or path name to perform a function on.| Method Detail |
|---|
public void setFile(java.lang.String inputName)
inputName - A string representing the file name or path
public java.lang.String[] recursiveList(boolean includeDirs)
throws java.lang.Exception
includeDirs - true - include the directory as a separate entity in the return list
java.lang.Exception - An exception will be thrown if the user specifies a file instead of a directory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||