Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.bot.dataunit
Class TextDataUnit

    java.lang.Object
      org.encog.bot.dataunit.DataUnit
          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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.