org.springframework.shell.core
Class JLineCompletorAdapter
java.lang.Object
org.springframework.shell.core.JLineCompletorAdapter
- All Implemented Interfaces:
- jline.Completor
public class JLineCompletorAdapter
- extends Object
- implements jline.Completor
An implementation of JLine's Completor
interface that delegates to a Parser
.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JLineCompletorAdapter
public JLineCompletorAdapter(Parser parser)
complete
public int complete(String buffer,
int cursor,
List candidates)
- Specified by:
complete
in interface jline.Completor