org.encog.persist
Class DirectoryEntry
java.lang.Object
org.encog.persist.DirectoryEntry
public class DirectoryEntry
- extends java.lang.Object
The idea of the Encog persisted collection is that the entire file might be
quite long and should not be read into memory in its entirity. Directory
entry classes allow you to list the contents of a file without loading the
entire file.
- Author:
- jheaton
|
Constructor Summary |
DirectoryEntry(EncogPersistedObject obj)
Construct a directory entry for the specified object. |
DirectoryEntry(java.lang.String type,
java.lang.String name,
java.lang.String description)
Construct a directory entry from strings. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryEntry
public DirectoryEntry(EncogPersistedObject obj)
- Construct a directory entry for the specified object.
- Parameters:
obj - The Encog object.
DirectoryEntry
public DirectoryEntry(java.lang.String type,
java.lang.String name,
java.lang.String description)
- Construct a directory entry from strings.
- Parameters:
type - The type of object.name - The name of this object.description - The description for this object.
getDescription
public java.lang.String getDescription()
- Returns:
- The description for this object.
getName
public java.lang.String getName()
- Returns:
- The name of this object.
getType
public java.lang.String getType()
- Returns:
- The type of this object.