|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.persist.PersistWriter
public class PersistWriter
Utility class for writing Encog persisted class files.
| Constructor Summary | |
|---|---|
PersistWriter(PersistenceLocation location)
Create a writer for the specified location. |
|
| Method Summary | |
|---|---|
void |
begin()
Begin an Encog document. |
void |
beginObjects()
Begin the objects collection. |
void |
close()
Close the writer. |
void |
end()
End the document. |
void |
endObjects()
End the objects collection. |
void |
mergeObjects(PersistenceLocation location,
String skip)
Merge the objects from this collection into the new one. |
void |
modifyObject(PersistenceLocation location,
String name,
String newName,
String newDesc)
Modify the specified object, such as changing its name or description. |
void |
writeHeader()
Write the header for the Encog file. |
void |
writeObject(EncogPersistedObject obj)
Write an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistWriter(PersistenceLocation location)
location - The location.| Method Detail |
|---|
public void begin()
public void beginObjects()
public void close()
public void end()
public void endObjects()
public void mergeObjects(PersistenceLocation location,
String skip)
location - The location to merge to.skip - The object to skip.
public void modifyObject(PersistenceLocation location,
String name,
String newName,
String newDesc)
location - The location of the object being modified.name - The old name of the object being modified.newName - The new name of the object being modified.newDesc - The new description of the object being modified.public void writeHeader()
public void writeObject(EncogPersistedObject obj)
obj - The object to write.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||