org.apache.karaf.shell.console.completer
Class StringsCompleter

java.lang.Object
  extended by org.apache.karaf.shell.console.completer.StringsCompleter
All Implemented Interfaces:
Completer

public class StringsCompleter
extends Object
implements Completer

Completer for a set of strings.


Constructor Summary
StringsCompleter()
           
StringsCompleter(boolean caseSensitive)
           
StringsCompleter(Collection<String> strings)
           
StringsCompleter(Collection<String> strings, boolean caseSensitive)
           
StringsCompleter(String[] strings)
           
StringsCompleter(String[] strings, boolean caseSensitive)
           
 
Method Summary
 int complete(String buffer, int cursor, List candidates)
           
 SortedSet<String> getStrings()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringsCompleter

public StringsCompleter()

StringsCompleter

public StringsCompleter(boolean caseSensitive)

StringsCompleter

public StringsCompleter(Collection<String> strings)

StringsCompleter

public StringsCompleter(String[] strings,
                        boolean caseSensitive)

StringsCompleter

public StringsCompleter(Collection<String> strings,
                        boolean caseSensitive)

StringsCompleter

public StringsCompleter(String[] strings)
Method Detail

getStrings

public SortedSet<String> getStrings()

complete

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


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.