public final class UncheckedFilterInputStream
extends java.io.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. |
| 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. |
public static UncheckedFilterInputStream.Builder builder()
UncheckedFilterInputStream.Builder.UncheckedFilterInputStream.Builder.public int available()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.available in class java.io.FilterInputStreamjava.io.UncheckedIOExceptionpublic void close()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.UncheckedIOExceptionpublic int read()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.read in class java.io.FilterInputStreamjava.io.UncheckedIOExceptionpublic int read(byte[] b)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.read in class java.io.FilterInputStreamjava.io.UncheckedIOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.read in class java.io.FilterInputStreamjava.io.UncheckedIOExceptionpublic void reset()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.reset in class java.io.FilterInputStreamjava.io.UncheckedIOExceptionpublic long skip(long n)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.skip in class java.io.FilterInputStreamjava.io.UncheckedIOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved