|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.queryParser.core.util.UnescapedCharSequence
public final class UnescapedCharSequence
CharsSequence with escaped chars information.
Constructor Summary | |
---|---|
UnescapedCharSequence(char[] chars,
boolean[] wasEscaped,
int offset,
int length)
Create a escaped CharSequence |
|
UnescapedCharSequence(CharSequence text)
Create a non-escaped CharSequence |
Method Summary | |
---|---|
char |
charAt(int index)
|
int |
length()
|
CharSequence |
subSequence(int start,
int end)
|
static CharSequence |
toLowerCase(CharSequence text)
|
String |
toString()
|
String |
toStringEscaped()
Return a escaped String |
String |
toStringEscaped(char[] enabledChars)
Return a escaped String |
static boolean |
wasEscaped(CharSequence text,
int index)
|
boolean |
wasEscaped(int index)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnescapedCharSequence(char[] chars, boolean[] wasEscaped, int offset, int length)
chars
- wasEscaped
- offset
- length
- public UnescapedCharSequence(CharSequence text)
text
- Method Detail |
---|
public char charAt(int index)
charAt
in interface CharSequence
public int length()
length
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public String toString()
toString
in interface CharSequence
toString
in class Object
public String toStringEscaped()
public String toStringEscaped(char[] enabledChars)
enabledChars
- - array of chars to be escaped
public boolean wasEscaped(int index)
public static final boolean wasEscaped(CharSequence text, int index)
public static CharSequence toLowerCase(CharSequence text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |