org.encog.bot.dataunit
Class TextDataUnit

java.lang.Object
  extended by org.encog.bot.dataunit.DataUnit
      extended by org.encog.bot.dataunit.TextDataUnit

public class TextDataUnit
extends DataUnit

A data unit that holds text.

Author:
jheaton

Constructor Summary
TextDataUnit()
           
 
Method Summary
 String getText()
           
 void setText(String str)
          Set the text for this data unit.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextDataUnit

public TextDataUnit()
Method Detail

getText

public final String getText()
Returns:
The text for this data unit.

setText

public final void setText(String str)
Set the text for this data unit.

Parameters:
str - The text.

toString

public final String toString()

Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.