|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.queryParser.standard.parser.EscapeQuerySyntaxImpl
public class EscapeQuerySyntaxImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.lucene.queryParser.core.parser.EscapeQuerySyntax |
---|
EscapeQuerySyntax.Type |
Constructor Summary | |
---|---|
EscapeQuerySyntaxImpl()
|
Method Summary | |
---|---|
static UnescapedCharSequence |
discardEscapeChar(java.lang.CharSequence input)
Returns a String where the escape char has been removed, or kept only once if there was a double escape. |
java.lang.CharSequence |
escape(java.lang.CharSequence text,
java.util.Locale locale,
EscapeQuerySyntax.Type type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EscapeQuerySyntaxImpl()
Method Detail |
---|
public java.lang.CharSequence escape(java.lang.CharSequence text, java.util.Locale locale, EscapeQuerySyntax.Type type)
escape
in interface EscapeQuerySyntax
text
- - text to be escapedlocale
- - locale for the current querytype
- - select the type of escape operation to use
public static UnescapedCharSequence discardEscapeChar(java.lang.CharSequence input) throws ParseException
A
to
A
.
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |