The Encog Project

org.encog.persist
Class DirectoryEntry

java.lang.Object
  extended by 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.
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.

The Encog Project