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

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

public class FileNameCompletor
extends ChoiceCompletor


Field Summary
static org.apache.log4j.Logger LOG
           
 
Fields inherited from class edu.cs.ai.kreator.ui.cli.wordcompletion.ChoiceCompletor
completors
 
Fields inherited from class edu.cs.ai.kreator.ui.cli.wordcompletion.Completor
parentCompletor
 
Constructor Summary
FileNameCompletor(boolean fileMustExist)
           
FileNameCompletor(java.lang.Class<? extends DataFile> fileClass, boolean fileMustExist)
           
 
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.ChoiceCompletor
add, add
 
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

FileNameCompletor

public FileNameCompletor(boolean fileMustExist)

FileNameCompletor

public FileNameCompletor(java.lang.Class<? extends DataFile> fileClass,
                         boolean fileMustExist)
Method Detail

complete

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

toString

public java.lang.String toString()
Overrides:
toString in class ChoiceCompletor