com.JLex
Class CInput

java.lang.Object
  extended by com.JLex.CInput

 class CInput
extends java.lang.Object

Class: CInput Description:


Field Summary
private static int BUFFER_SIZE
          Constants
(package private) static boolean EOF
           
private  byte[] m_buffer
           
private  int m_buffer_index
           
private  int m_buffer_read
           
(package private)  boolean m_eof_reached
           
private  java.io.InputStream m_input
          Member Variables
(package private)  char[] m_line
           
(package private)  int m_line_index
           
(package private)  int m_line_number
           
(package private)  int m_line_read
           
(package private)  boolean m_pushback_line
           
(package private) static boolean NOT_EOF
           
 
Constructor Summary
CInput(java.io.InputStream input)
          Function: CInput Description:
 
Method Summary
(package private)  boolean getLine()
          Function: getLine Description: Returns true on EOF, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_input

private java.io.InputStream m_input
Member Variables


m_buffer

private byte[] m_buffer

m_buffer_read

private int m_buffer_read

m_buffer_index

private int m_buffer_index

m_eof_reached

boolean m_eof_reached

m_pushback_line

boolean m_pushback_line

m_line

char[] m_line

m_line_read

int m_line_read

m_line_index

int m_line_index

m_line_number

int m_line_number

BUFFER_SIZE

private static final int BUFFER_SIZE
Constants

See Also:
Constant Field Values

EOF

static final boolean EOF
See Also:
Constant Field Values

NOT_EOF

static final boolean NOT_EOF
See Also:
Constant Field Values
Constructor Detail

CInput

CInput(java.io.InputStream input)
Function: CInput Description:

Method Detail

getLine

boolean getLine()
          throws java.io.IOException
Function: getLine Description: Returns true on EOF, false otherwise. Guarantees not to return a blank line, or a line of zero length.

Throws:
java.io.IOException