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-implementedConstructor 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, skip
public StringInputStream(String _str)
public int available()
available
in class InputStream
public int read()
read
in class InputStream
public int read(byte[] buf)
read
in class InputStream
public int read(byte[] buf, int offset, int len)
read
in class InputStream
Copyright © 2021 Oracle Corporation. All rights reserved.