org.codehaus.groovy.syntax.lexer
Class StringCharStream

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

public class StringCharStream
extends AbstractCharStream


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

StringCharStream

public StringCharStream(String text)

StringCharStream

public StringCharStream(String text,
                        String description)
Method Detail

nextChar

public 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.