jline

Class ArgumentCompletor.WhitespaceArgumentDelimiter

public static class ArgumentCompletor.WhitespaceArgumentDelimiter extends ArgumentCompletor.AbstractArgumentDelimiter

ArgumentDelimiter implementation that counts all whitespace (as reported by Character#isWhitespace) as being a delimiter.

Author: Marc Prud'hommeaux

Method Summary
booleanisDelimiterChar(String buffer, int pos)
The character is a delimiter if it is whitespace, and the preceeding character is not an escape character.

Method Detail

isDelimiterChar

public boolean isDelimiterChar(String buffer, int pos)
The character is a delimiter if it is whitespace, and the preceeding character is not an escape character.
Copyright © 2002-2009 null. All Rights Reserved.