|
The Encog Project | ||||||||
| 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(java.io.File source,
java.io.File target)
Copy the specified file. |
static boolean |
deleteDirectory(java.io.File path)
Delete a directory and all children. |
static java.lang.String |
readStream(java.io.InputStream is)
Read the entire contents of a stream into a string. |
static java.lang.String |
readTextFile(java.lang.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(java.io.File source,
java.io.File target)
source - The file to copy.target - The target of the copy.public static boolean deleteDirectory(java.io.File path)
path - The path to delete.
public static java.lang.String readStream(java.io.InputStream is)
is - The input stream to read from.
public static java.lang.String readTextFile(java.lang.String filename)
filename - The input stream to read from.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||