public class StringInputStream extends ByteArrayInputStream
Constructor and Description |
---|
StringInputStream(String s) |
Modifier and Type | Method and Description |
---|---|
String |
getString()
Returns the original string specified when this input stream was
constructed.
|
available, close, mark, markSupported, read, read, reset, skip
read
public StringInputStream(String s) throws UnsupportedEncodingException
UnsupportedEncodingException
public String getString()