org.apache.tools.ant.filters
Class StringInputStream
public class StringInputStream
Wraps a String as an InputStream.
StringInputStream(String source) - Composes a stream from a String
|
StringInputStream(String source, String encoding) - Composes a stream from a String with the specified encoding
|
StringInputStream
public StringInputStream(String source)
Composes a stream from a String
source
- The string to read from. Must not be null
.
StringInputStream
public StringInputStream(String source,
String encoding)
Composes a stream from a String with the specified encoding
source
- The string to read from. Must not be null
.encoding
- The encoding scheme. Also must not be null
.
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.