org.codehaus.groovy.syntax.lexer
Class InputStreamCharStream

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

public class InputStreamCharStream
extends AbstractCharStream


Field Summary
 
Fields inherited from interface org.codehaus.groovy.syntax.lexer.CharStream
EOS
 
Constructor Summary
InputStreamCharStream(InputStream in)
           
InputStreamCharStream(InputStream in, String description)
           
 
Method Summary
 void close()
           
 InputStream getInputStream()
           
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

InputStreamCharStream

public InputStreamCharStream(InputStream in)

InputStreamCharStream

public InputStreamCharStream(InputStream in,
                             String description)
Method Detail

getInputStream

public InputStream getInputStream()

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.