public class StringInputStream extends ReaderInputStream
| Constructor and Description |
|---|
StringInputStream(java.lang.String source)
Composes a stream from a String
|
StringInputStream(java.lang.String source,
java.lang.String encoding)
Composes a stream from a String with the specified encoding
|
available, close, mark, markSupported, read, read, resetpublic StringInputStream(java.lang.String source)
source - The string to read from. Must not be null.public StringInputStream(java.lang.String source,
java.lang.String encoding)
source - The string to read from. Must not be null.encoding - The encoding scheme. Also must not be null.