Package org.xbill.DNS
Class Tokenizer.Token
java.lang.Object
org.xbill.DNS.Tokenizer.Token
- Enclosing class:
Tokenizer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEOL()Indicates whether this token contains an EOL or EOF.booleanisString()Indicates whether this token contains a string.toString()Converts the token to a string containing a representation useful for debugging.inttype()The type of token.value()The value of the token, or null for tokens without values.
-
Field Details
-
Method Details
-
type
public int type()The type of token.- Since:
- 3.5.1
-
value
The value of the token, or null for tokens without values.- Since:
- 3.5.1
-
toString
Converts the token to a string containing a representation useful for debugging. -
isString
public boolean isString()Indicates whether this token contains a string. -
isEOL
public boolean isEOL()Indicates whether this token contains an EOL or EOF.
-
type(), will be made private and final in 4.0