|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfun.parsec.tokens.TokenQuoted
public class TokenQuoted
represents a string that is quoted by a open and close string. Use this token if the value of open quote and close quote matters to the syntax.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getClose()
Returns the closing quote. |
java.lang.String |
getOpen()
Returns the opening quote. |
java.lang.String |
getQuoted()
Returns the quoted text. |
static Tokenizer |
getTokenizer(char open,
char close)
Deprecated. Use Tokenizers.forQuotedString(char, char) instead. |
static Tokenizer |
getTokenizer(java.lang.String open,
java.lang.String close)
Deprecated. Use Tokenizers.forQuotedString(String, String) instead. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static Tokenizer getTokenizer(char open, char close)
Tokenizers.forQuotedString(char, char)
instead.
open
- the open quoteclose
- the close quote
public static Tokenizer getTokenizer(java.lang.String open, java.lang.String close)
Tokenizers.forQuotedString(String, String)
instead.
open
- the opening quoteclose
- the closeing quote
public final java.lang.String getClose()
public final java.lang.String getQuoted()
public final java.lang.String getOpen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |