public class StrInputStream extends ByteArrayInputStream
buf, count, mark, pos| Constructor and Description |
|---|
StrInputStream(CharSequence str,
Charset charset)
构造
|
| Modifier and Type | Method and Description |
|---|---|
static StrInputStream |
of(CharSequence str,
Charset charset)
创建StrInputStream
|
static StrInputStream |
ofUtf8(CharSequence str)
创建StrInputStream
|
available, close, mark, markSupported, read, read, reset, skipreadpublic StrInputStream(CharSequence str, Charset charset)
str - 字符串charset - 编码public static StrInputStream ofUtf8(CharSequence str)
str - 字符串public static StrInputStream of(CharSequence str, Charset charset)
str - 字符串charset - 编码Copyright © 2025. All rights reserved.