org.springframework.shell.core
Class JLineCompletorAdapter

java.lang.Object
  extended by 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

Constructor Summary
JLineCompletorAdapter(Parser parser)
           
 
Method Summary
 int complete(String buffer, int cursor, List candidates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JLineCompletorAdapter

public JLineCompletorAdapter(Parser parser)
Method Detail

complete

public int complete(String buffer,
                    int cursor,
                    List candidates)
Specified by:
complete in interface jline.Completor