org.codehaus.groovy.control.io
Class StringReaderSource
java.lang.Object
org.codehaus.groovy.control.io.AbstractReaderSource
org.codehaus.groovy.control.io.StringReaderSource
class StringReaderSource
extends AbstractReaderSource
A ReaderSource for source strings.
- author:
- Chris Poirier
- version:
- $Id: StringReaderSource.java 17536 2009-09-04 01:42:05Z glaforge $
Method Summary |
Reader
|
getReader()
Returns a new Reader on the underlying source object.
|
Methods inherited from class Object
|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
StringReaderSource
public StringReaderSource(String string, CompilerConfiguration configuration)
- Creates the ReaderSource from a File descriptor.
- param:
- string string containing script source
- param:
- configuration configuration for compiling source
getReader
public Reader getReader()
- Returns a new Reader on the underlying source object.
Copyright © 2003-2009 The Codehaus. All rights reserved.