public static class HeaderTokenizer.Token
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | ATOMToken type indicating an ATOM. | 
| static int | COMMENTToken type indicating a comment. | 
| static int | EOFToken type indicating end of input. | 
| static int | QUOTEDSTRINGToken type indicating a quoted string. | 
| Constructor and Description | 
|---|
| Token(int type,
     java.lang.String value)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getType()Return the type of the token. | 
| java.lang.String | getValue()Returns the value of the token just read. | 
public static final int ATOM
public static final int QUOTEDSTRING
public static final int COMMENT
public static final int EOF
public Token(int type,
             java.lang.String value)
type - Token typevalue - Token valuepublic int getType()
ATOM A sequence of ASCII characters 
        delimited by either SPACE, CTL, "(", <"> or the 
        specified SPECIALS
 QUOTEDSTRING A sequence of ASCII characters
        within quotes
 COMMENT A sequence of ASCII characters 
        within "(" and ")".
 EOF End of header
 public java.lang.String getValue()