|
Groovy 1.8.4 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjline.SimpleCompletor
org.codehaus.groovy.tools.shell.util.SimpleCompletor
public class SimpleCompletor extends jline.SimpleCompletor
Support for simple completors.
Constructor Summary | |
SimpleCompletor(String[] candidates)
|
|
SimpleCompletor()
|
|
SimpleCompletor(Closure loader)
|
Method Summary | |
---|---|
void
|
add(String candidate)
|
int
|
complete(String buffer, int cursor, List clist)
|
Object
|
leftShift(String s)
|
Methods inherited from class jline.SimpleCompletor | |
---|---|
jline.SimpleCompletor#clone(), jline.SimpleCompletor#complete(java.lang.String, int, java.util.List), jline.SimpleCompletor#setDelimiter(java.lang.String), jline.SimpleCompletor#getDelimiter(), jline.SimpleCompletor#setCandidates(java.util.SortedSet), jline.SimpleCompletor#getCandidates(), jline.SimpleCompletor#setCandidateStrings([Ljava.lang.String;), jline.SimpleCompletor#addCandidateString(java.lang.String), jline.SimpleCompletor#wait(long), jline.SimpleCompletor#wait(long, int), jline.SimpleCompletor#wait(), jline.SimpleCompletor#equals(java.lang.Object), jline.SimpleCompletor#toString(), jline.SimpleCompletor#hashCode(), jline.SimpleCompletor#getClass(), jline.SimpleCompletor#notify(), jline.SimpleCompletor#notifyAll() |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public SimpleCompletor(String[] candidates)
public SimpleCompletor()
public SimpleCompletor(Closure loader)
Method Detail |
---|
public void add(String candidate)
public int complete(String buffer, int cursor, List clist)
public Object leftShift(String s)
Copyright © 2003-2011 The Codehaus. All rights reserved.