org.objectweb.cjdbc.console.text.module
Class AbstractConsoleModule.CommandDelimiter
java.lang.Object
jline.ArgumentCompletor.AbstractArgumentDelimiter
org.objectweb.cjdbc.console.text.module.AbstractConsoleModule.CommandDelimiter
- All Implemented Interfaces:
- jline.ArgumentCompletor.ArgumentDelimiter
- Enclosing class:
- AbstractConsoleModule
- class AbstractConsoleModule.CommandDelimiter
- extends jline.ArgumentCompletor.AbstractArgumentDelimiter
This class defines a CommandDelimiter used to delimit a command from user
input
Fields inherited from class jline.ArgumentCompletor.AbstractArgumentDelimiter |
|
Method Summary |
private boolean |
isACompleteCommand(java.lang.String input)
Test if the String input by the user insofar is a complete command or
not. |
boolean |
isDelimiterChar(java.lang.String buffer,
int pos)
|
private boolean |
otherCommandsStartWith(java.lang.String commandName)
|
Methods inherited from class jline.ArgumentCompletor.AbstractArgumentDelimiter |
delimit, getEscapeChars, getQuoteChars, isDelimiter, isEscaped, isQuoted, setEscapeChars, setQuoteChars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractConsoleModule.CommandDelimiter
AbstractConsoleModule.CommandDelimiter()
isDelimiterChar
public boolean isDelimiterChar(java.lang.String buffer,
int pos)
- See Also:
ArgumentCompletor.AbstractArgumentDelimiter.isDelimiterChar(java.lang.String,
int)
isACompleteCommand
private boolean isACompleteCommand(java.lang.String input)
- Test if the String input by the user insofar is a complete command or
not.
- Parameters:
input
- Text input by the user
- Returns:
true
if the text input by the user is a complete
command name, false
else
otherCommandsStartWith
private boolean otherCommandsStartWith(java.lang.String commandName)
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.