org.codehaus.groovy.syntax.lexer
Class ReaderCharStream

java.lang.Object
  |
  +--org.codehaus.groovy.syntax.lexer.AbstractCharStream
        |
        +--org.codehaus.groovy.syntax.lexer.ReaderCharStream
All Implemented Interfaces:
CharStream

public class ReaderCharStream
extends AbstractCharStream


Field Summary
 
Fields inherited from interface org.codehaus.groovy.syntax.lexer.CharStream
EOS
 
Constructor Summary
ReaderCharStream(Reader in)
           
ReaderCharStream(Reader in, String description)
           
 
Method Summary
 void close()
           
 Reader getReader()
           
protected  char nextChar()
           
 
Methods inherited from class org.codehaus.groovy.syntax.lexer.AbstractCharStream
consume, getDescription, la, la
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReaderCharStream

public ReaderCharStream(Reader in)

ReaderCharStream

public ReaderCharStream(Reader in,
                        String description)
Method Detail

getReader

public Reader getReader()

nextChar

protected char nextChar()
                 throws IOException
Specified by:
nextChar in class AbstractCharStream
IOException

close

public void close()
           throws IOException
IOException


Copyright © 2003 The Codehaus. All Rights Reserved.