org.antlr.runtime.ANTLRReaderStream Class Reference

Inheritance diagram for org.antlr.runtime.ANTLRReaderStream:

Inheritance graph
[legend]
Collaboration diagram for org.antlr.runtime.ANTLRReaderStream:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ANTLRReaderStream ()
 ANTLRReaderStream (Reader r) throws IOException
 ANTLRReaderStream (Reader r, int size) throws IOException
 ANTLRReaderStream (Reader r, int size, int readChunkSize) throws IOException
void load (Reader r, int size, int readChunkSize) throws IOException

Static Public Attributes

static final int READ_BUFFER_SIZE = 1024
static final int INITIAL_BUFFER_SIZE = 1024


Detailed Description

Vacuum all input from a Reader and then treat it like a StringStream. Manage the buffer manually to avoid unnecessary data copying.

If you need encoding, use ANTLRInputStream.

Definition at line 37 of file ANTLRReaderStream.java.


Constructor & Destructor Documentation

org.antlr.runtime.ANTLRReaderStream.ANTLRReaderStream (  ) 

Definition at line 41 of file ANTLRReaderStream.java.

org.antlr.runtime.ANTLRReaderStream.ANTLRReaderStream ( Reader  r  )  throws IOException

Definition at line 44 of file ANTLRReaderStream.java.

org.antlr.runtime.ANTLRReaderStream.ANTLRReaderStream ( Reader  r,
int  size 
) throws IOException

Definition at line 48 of file ANTLRReaderStream.java.

org.antlr.runtime.ANTLRReaderStream.ANTLRReaderStream ( Reader  r,
int  size,
int  readChunkSize 
) throws IOException

Definition at line 52 of file ANTLRReaderStream.java.


Member Function Documentation

void org.antlr.runtime.ANTLRReaderStream.load ( Reader  r,
int  size,
int  readChunkSize 
) throws IOException

Definition at line 56 of file ANTLRReaderStream.java.


Member Data Documentation

Definition at line 38 of file ANTLRReaderStream.java.

Definition at line 39 of file ANTLRReaderStream.java.


The documentation for this class was generated from the following file:

Generated on Tue Aug 12 11:41:51 2008 for ANTLR API by  doxygen 1.5.5