public final class UncheckedFilterInputStream extends FilterInputStream
BufferedReader that throws UncheckedIOException instead of IOException.
To build an instance, see UncheckedFilterInputStream.Builder.
BufferedReader,
IOException,
UncheckedIOException| Modifier and Type | Class and Description |
|---|---|
static class |
UncheckedFilterInputStream.Builder
Builds a new
UncheckedFilterInputStream instance. |
in| Modifier and Type | Method and Description |
|---|---|
int |
available()
Calls this method's super and rethrow
IOException as UncheckedIOException. |
static UncheckedFilterInputStream.Builder |
builder()
Constructs a new
UncheckedFilterInputStream.Builder. |
void |
close()
Calls this method's super and rethrow
IOException as UncheckedIOException. |
int |
read()
Calls this method's super and rethrow
IOException as UncheckedIOException. |
int |
read(byte[] b)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
int |
read(byte[] b,
int off,
int len)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
void |
reset()
Calls this method's super and rethrow
IOException as UncheckedIOException. |
long |
skip(long n)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
mark, markSupportedpublic static UncheckedFilterInputStream.Builder builder()
UncheckedFilterInputStream.Builder.UncheckedFilterInputStream.Builder.public int available() throws UncheckedIOException
IOException as UncheckedIOException.available in class FilterInputStreamUncheckedIOExceptionpublic void close() throws UncheckedIOException
IOException as UncheckedIOException.close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamUncheckedIOExceptionpublic int read() throws UncheckedIOException
IOException as UncheckedIOException.read in class FilterInputStreamUncheckedIOExceptionpublic int read(byte[] b) throws UncheckedIOException
IOException as UncheckedIOException.read in class FilterInputStreamUncheckedIOExceptionpublic int read(byte[] b, int off, int len) throws UncheckedIOException
IOException as UncheckedIOException.read in class FilterInputStreamUncheckedIOExceptionpublic void reset() throws UncheckedIOException
IOException as UncheckedIOException.reset in class FilterInputStreamUncheckedIOExceptionpublic long skip(long n) throws UncheckedIOException
IOException as UncheckedIOException.skip in class FilterInputStreamUncheckedIOExceptionCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.