public class CharSequenceReader extends Reader
Constructor and Description |
---|
CharSequenceReader(CharSequence str,
int startInclude,
int endExclude)
构造
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] array,
int offset,
int length) |
boolean |
ready() |
void |
reset() |
long |
skip(long n) |
String |
toString() |
public CharSequenceReader(CharSequence str, int startInclude, int endExclude)
str
- CharSequence
startInclude
- 开始位置(包含)endExclude
- 结束位置(不包含)public boolean markSupported()
markSupported
in class Reader
public void close()
Copyright © 2025. All rights reserved.