|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.persist.location.FilePersistence
public class FilePersistence
A persistence location based on a file.
| Constructor Summary | |
|---|---|
FilePersistence(File file)
Construct a persistance location based on a file. |
|
| Method Summary | |
|---|---|
InputStream |
createInputStream()
|
OutputStream |
createOutputStream()
|
void |
delete()
Attempt to delete the file. |
boolean |
exists()
|
File |
getFile()
|
void |
renameTo(PersistenceLocation toLocation)
Rename this file to a different location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilePersistence(File file)
file - The file to use.| Method Detail |
|---|
public InputStream createInputStream()
createInputStream in interface PersistenceLocationpublic OutputStream createOutputStream()
createOutputStream in interface PersistenceLocationpublic void delete()
delete in interface PersistenceLocationpublic boolean exists()
exists in interface PersistenceLocationpublic File getFile()
public void renameTo(PersistenceLocation toLocation)
renameTo in interface PersistenceLocationtoLocation - What to rename to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||