public class StringReader extends Reader
| Constructor and Description |
|---|
StringReader(String str) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] buf,
int offset,
int len) |
boolean |
ready() |
void |
reset() |
long |
skip(long ns) |
public StringReader(String str)
public void close()
close in interface AutoCloseableclose in class Readerpublic void mark(int readLimit)
throws IOException
mark in class ReaderIOExceptionpublic boolean markSupported()
markSupported in class Readerpublic int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] buf,
int offset,
int len)
throws IOException
read in class ReaderIOExceptionpublic boolean ready()
throws IOException
ready in class ReaderIOExceptionpublic void reset()
throws IOException
reset in class ReaderIOExceptionpublic long skip(long ns)
throws IOException
skip in class ReaderIOExceptionCopyright © 2026. All rights reserved.