org.codehaus.groovy.tools.shell.util
Class SimpleCompletor
java.lang.Object
  
jline.SimpleCompletor
      
org.codehaus.groovy.tools.shell.util.SimpleCompletor
- All Implemented Interfaces: 
 - Cloneable, jline.Completor
 
public class SimpleCompletor
- extends jline.SimpleCompletor
 
Support for simple completors.
- Version:
 
  - $Id$
 
- Author:
 
  - Jason Dillon
 
 
| Nested classes/interfaces inherited from class jline.SimpleCompletor | 
jline.SimpleCompletor.NoOpFilter, jline.SimpleCompletor.SimpleCompletorFilter | 
 
 
 
| Methods inherited from class jline.SimpleCompletor | 
addCandidateString, clone, getCandidates, getDelimiter, setCandidates, setCandidateStrings, setDelimiter | 
 
 
SimpleCompletor
public SimpleCompletor(String[] candidates)
SimpleCompletor
public SimpleCompletor()
SimpleCompletor
public SimpleCompletor(Closure loader)
add
public void add(String candidate)
 
leftShift
public Object leftShift(String s)
 
complete
public int complete(String buffer,
                    int cursor,
                    List clist)
- Specified by:
 complete in interface jline.Completor- Overrides:
 complete in class jline.SimpleCompletor