public class InputStreamReader extends Reader
| Constructor and Description |
|---|
InputStreamReader(InputStream is) |
InputStreamReader(InputStream is,
String enc) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
boolean |
ready() |
void |
reset() |
long |
skip(long n) |
public InputStreamReader(InputStream is)
public InputStreamReader(InputStream is, String enc) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in class ReaderIOExceptionpublic void mark(int readAheadLimit)
throws IOException
mark in class ReaderIOExceptionpublic boolean markSupported()
markSupported in class Readerpublic int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
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 n)
throws IOException
skip in class ReaderIOExceptionCopyright © 2026. All rights reserved.