com.gmail.thejcwk.semantics.gui.couplings
Class TextDatabaseGenerator

java.lang.Object
  extended by com.gmail.thejcwk.semantics.gui.couplings.TextDatabaseGenerator

public class TextDatabaseGenerator
extends java.lang.Object

This class encapsulates generating a text representation of a PhraseCollection.

Version:
0.1
Author:
Jan Kroeze

Constructor Summary
TextDatabaseGenerator(PhraseCollection aCollection)
          Creates a new TextDatabaseGenerator to act on the given collection.
 
Method Summary
 java.lang.String generate()
          Generates a string representing the PhraseCollection in text form.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextDatabaseGenerator

public TextDatabaseGenerator(PhraseCollection aCollection)
Creates a new TextDatabaseGenerator to act on the given collection.

Parameters:
aCollection - A PhraseCollection object.
Method Detail

generate

public java.lang.String generate()
Generates a string representing the PhraseCollection in text form.

Returns:
A String object.