org.encog.neural.data
Class TextData

java.lang.Object
  extended by org.encog.persist.BasicPersistedObject
      extended by org.encog.neural.data.TextData
All Implemented Interfaces:
Serializable, EncogPersistedObject

public class TextData
extends BasicPersistedObject

An Encog object that can hold text data. This object can be stored in an Encog persisted file.

Author:
jheaton
See Also:
Serialized Form

Constructor Summary
TextData()
           
 
Method Summary
 Object clone()
          Clone this object.
 Persistor createPersistor()
          Create a persistor to store this object.
 String getText()
           
 void setText(String text)
          Set the text held by this object.
 
Methods inherited from class org.encog.persist.BasicPersistedObject
getCollection, getDescription, getName, setCollection, setDescription, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextData

public TextData()
Method Detail

clone

public Object clone()
Clone this object.

Overrides:
clone in class Object
Returns:
A cloned version of this object.

createPersistor

public Persistor createPersistor()
Create a persistor to store this object.

Specified by:
createPersistor in interface EncogPersistedObject
Overrides:
createPersistor in class BasicPersistedObject
Returns:
A persistor.

getText

public String getText()
Returns:
The text held by this object.

setText

public void setText(String text)
Set the text held by this object.

Parameters:
text - The text held by this object.


Copyright © 2011. All Rights Reserved.