EDU.cmu.cs.coral.util
Class PreProcessor

java.lang.Object
  |
  +--java.io.Reader
        |
        +--EDU.cmu.cs.coral.util.PreProcessor

public class PreProcessor
extends java.io.Reader

Pre-process a text file. Specifically, handle "define" statements. Provides all the functionality of a StreamTokenizer.

Copyright (c)1999 Tucker Balch and Carnegie Mellon University


Fields inherited from class java.io.Reader
lock
 
Constructor Summary
PreProcessor(java.io.InputStream is)
           
PreProcessor(java.io.Reader r)
           
 
Method Summary
 void close()
           
 int read(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreProcessor

public PreProcessor(java.io.InputStream is)

PreProcessor

public PreProcessor(java.io.Reader r)
Method Detail

close

public void close()
Overrides:
close in class java.io.Reader

read

public int read(char[] cbuf,
                int off,
                int len)
Overrides:
read in class java.io.Reader