|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.util.file.Directory
public final class Directory
Directory utilities.
| Field Summary | |
|---|---|
static int |
BUFFER_SIZE
Default buffer size for read/write operations. |
| Method Summary | |
|---|---|
static void |
copyFile(File source,
File target)
Copy the specified file. |
static boolean |
deleteDirectory(File path)
Delete a directory and all children. |
static String |
readStream(InputStream is)
Read the entire contents of a stream into a string. |
static String |
readTextFile(String filename)
Read the entire contents of a stream into a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BUFFER_SIZE
| Method Detail |
|---|
public static void copyFile(File source,
File target)
source - The file to copy.target - The target of the copy.public static boolean deleteDirectory(File path)
path - The path to delete.
public static String readStream(InputStream is)
is - The input stream to read from.
public static String readTextFile(String filename)
filename - The input stream to read from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||