org.codehaus.groovy.control.io
[Java] Class StringReaderSource
java.lang.Object
org.codehaus.groovy.control.io.AbstractReaderSource
org.codehaus.groovy.control.io.StringReaderSource
public class StringReaderSource
extends AbstractReaderSource
A ReaderSource for source strings.
- Authors:
- Chris Poirier
- Version:
- \$Id\$
Method Summary |
Reader
|
getReader()
Returns a new Reader on the underlying source object.
|
StringReaderSource
public StringReaderSource(String string, CompilerConfiguration configuration)
- Creates the ReaderSource from a File descriptor.
- Parameters:
string
- string containing script sourceconfiguration
- configuration for compiling source
getReader
public Reader getReader()
- Returns a new Reader on the underlying source object.
Copyright © 2003-2013 The Codehaus. All rights reserved.