edu.cs.ai.kreator.ui.cli.wordcompletion
Class StringCompletor

java.lang.Object
  extended by edu.cs.ai.kreator.ui.cli.wordcompletion.Completor
      extended by edu.cs.ai.kreator.ui.cli.wordcompletion.StringCompletor

public class StringCompletor
extends Completor


Field Summary
static org.apache.log4j.Logger LOG
           
 
Fields inherited from class edu.cs.ai.kreator.ui.cli.wordcompletion.Completor
parentCompletor
 
Constructor Summary
StringCompletor()
           
StringCompletor(java.lang.String completion)
           
StringCompletor(java.lang.String completion, boolean whitespaceMayPrecede, boolean linebreaksMayPrecede)
           
 
Method Summary
 java.util.List<Completion> complete(java.lang.String word, int offset)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.cs.ai.kreator.ui.cli.wordcompletion.Completor
complete, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
Constructor Detail

StringCompletor

public StringCompletor()

StringCompletor

public StringCompletor(java.lang.String completion)

StringCompletor

public StringCompletor(java.lang.String completion,
                       boolean whitespaceMayPrecede,
                       boolean linebreaksMayPrecede)
Method Detail

complete

public java.util.List<Completion> complete(java.lang.String word,
                                           int offset)
Specified by:
complete in class Completor

toString

public java.lang.String toString()
Specified by:
toString in class Completor