org.objectweb.cjdbc.controller.console
Interface CommandCompletorInterface

All Known Implementing Classes:
CommandCompletor

public interface CommandCompletorInterface

Interface for command completion.

This code has been inspired by the BeanShell Java Scripting project (http://www.beanshell.org/) by Patrick Niemeyer (pat@pat.net).

Version:
1.0
Author:
Mathieu Peltier

Method Summary
 java.lang.String[] complete(java.lang.String part)
          Returns an array containing a String element of the maximum unambiguous command completion or, if there is no common prefix, returns the list of ambiguous commands.
 

Method Detail

complete

public java.lang.String[] complete(java.lang.String part)
Returns an array containing a String element of the maximum unambiguous command completion or, if there is no common prefix, returns the list of ambiguous commands.

Parameters:
part - the String to complete.
Returns:
a String[] instance.


Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.