Apigen

edu.uci.isr.apigen
Class TokenReplacerReader

java.lang.Object
  extended byjava.io.Reader
      extended byjava.io.FilterReader
          extended byedu.uci.isr.apigen.TokenReplacerReader

public class TokenReplacerReader
extends FilterReader


Field Summary
protected  StringBuffer inbuf
           
protected  TokenMap map
           
protected  StringBuffer outbuf
           
 
Fields inherited from class java.io.FilterReader
in
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
TokenReplacerReader(Reader r, TokenMap map)
           
 
Method Summary
 int read()
           
 int read(char[] cbuf)
           
 int read(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.FilterReader
close, mark, markSupported, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

protected TokenMap map

inbuf

protected StringBuffer inbuf

outbuf

protected StringBuffer outbuf
Constructor Detail

TokenReplacerReader

public TokenReplacerReader(Reader r,
                           TokenMap map)
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

read

public int read(char[] cbuf,
                int off,
                int len)
         throws IOException
Throws:
IOException

read

public int read(char[] cbuf)
         throws IOException
Throws:
IOException

Apigen