public final class StringInputStream extends InputStream
StringBufferInputStream.
If we use the StringBufferInputStream class in the generated code,
it will cause warnings. That's why this class is re-implemented| Constructor and Description |
|---|
StringInputStream(String _str) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int offset,
int len) |
close, mark, markSupported, reset, skippublic StringInputStream(String _str)
public int available()
available in class InputStreampublic int read()
read in class InputStreampublic int read(byte[] buf)
read in class InputStreampublic int read(byte[] buf,
int offset,
int len)
read in class InputStreamCopyright © 2015 Oracle Corporation. All Rights Reserved.