org.objectweb.cjdbc.console.text.module
Class AbstractConsoleModule.CommandDelimiter

java.lang.Object
  extended byjline.ArgumentCompletor.AbstractArgumentDelimiter
      extended byorg.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


Field Summary
 
Fields inherited from class jline.ArgumentCompletor.AbstractArgumentDelimiter
 
Constructor Summary
(package private) AbstractConsoleModule.CommandDelimiter()
           
 
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
 

Constructor Detail

AbstractConsoleModule.CommandDelimiter

AbstractConsoleModule.CommandDelimiter()
Method Detail

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.