org.apache.commons.csv
Class CSVParser.Token

java.lang.Object
  extended by org.apache.commons.csv.CSVParser.Token
Enclosing class:
CSVParser

static class CSVParser.Token
extends java.lang.Object

Token is an internal token representation. It is used as contract between the lexer and the parser.


Field Summary
(package private)  CharBuffer content
          The content buffer.
(package private)  boolean isReady
          Token ready flag: indicates a valid token with content (ready for the parser).
(package private)  int type
          Token type, see TT_xxx constants.
 
Constructor Summary
CSVParser.Token()
           
 
Method Summary
(package private)  CSVParser.Token reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

int type
Token type, see TT_xxx constants.


content

CharBuffer content
The content buffer.


isReady

boolean isReady
Token ready flag: indicates a valid token with content (ready for the parser).

Constructor Detail

CSVParser.Token

CSVParser.Token()
Method Detail

reset

CSVParser.Token reset()