public class StringInputStream
extends java.io.InputStream
| Constructor | Description |
|---|---|
StringInputStream() |
| Modifier and Type | Method | Description |
|---|---|---|
static StringInputStream |
create(StringOutputStream stream) |
|
int |
read() |
|
java.lang.String |
toString() |
|
void |
with(byte[] value) |
|
void |
with(java.lang.String value) |
public java.lang.String toString()
toString in class java.lang.Objectpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void with(java.lang.String value)
public void with(byte[] value)
public static StringInputStream create(StringOutputStream stream)