public final class UncheckedFilterReader
extends java.io.FilterReader
FilterReader that throws UncheckedIOException instead of IOException.
To build an instance, see UncheckedFilterReader.Builder.
FilterReader,
IOException,
UncheckedIOException| Modifier and Type | Class and Description |
|---|---|
static class |
UncheckedFilterReader.Builder
Builds a new
UncheckedFilterReader instance. |
| Modifier and Type | Method and Description |
|---|---|
static UncheckedFilterReader.Builder |
builder()
Constructs a new
UncheckedFilterReader.Builder. |
void |
close()
Calls this method's super and rethrow
IOException as UncheckedIOException. |
void |
mark(int readAheadLimit)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
int |
read()
Calls this method's super and rethrow
IOException as UncheckedIOException. |
int |
read(char[] cbuf)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
int |
read(char[] cbuf,
int off,
int len)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
int |
read(java.nio.CharBuffer target)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
boolean |
ready()
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 UncheckedFilterReader.Builder builder()
UncheckedFilterReader.Builder.UncheckedFilterReader.Builder.public void close()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterReaderjava.io.UncheckedIOExceptionpublic void mark(int readAheadLimit)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.mark in class java.io.FilterReaderjava.io.UncheckedIOExceptionpublic int read()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.read in class java.io.FilterReaderjava.io.UncheckedIOExceptionpublic int read(char[] cbuf)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.read in class java.io.Readerjava.io.UncheckedIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.read in class java.io.FilterReaderjava.io.UncheckedIOExceptionpublic int read(java.nio.CharBuffer target)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.read in interface java.lang.Readableread in class java.io.Readerjava.io.UncheckedIOExceptionpublic boolean ready()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.ready in class java.io.FilterReaderjava.io.UncheckedIOExceptionpublic void reset()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.reset in class java.io.FilterReaderjava.io.UncheckedIOExceptionpublic long skip(long n)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.skip in class java.io.FilterReaderjava.io.UncheckedIOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved