Package org.apache.commons.io.input
Class UncheckedFilterReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.apache.commons.io.input.UncheckedFilterReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
A
FilterReader that throws UncheckedIOException instead of IOException.
To build an instance, use UncheckedFilterReader.Builder.
- Since:
- 2.12.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class java.io.FilterReader
in -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Constructs a newUncheckedFilterReader.Builder.voidclose()Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidmark(int readAheadLimit) Calls this method's super and rethrowIOExceptionasUncheckedIOException.intread()Calls this method's super and rethrowIOExceptionasUncheckedIOException.intread(char[] cbuf) Calls this method's super and rethrowIOExceptionasUncheckedIOException.intread(char[] cbuf, int off, int len) Calls this method's super and rethrowIOExceptionasUncheckedIOException.intread(CharBuffer target) Calls this method's super and rethrowIOExceptionasUncheckedIOException.booleanready()Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidreset()Calls this method's super and rethrowIOExceptionasUncheckedIOException.longskip(long n) Calls this method's super and rethrowIOExceptionasUncheckedIOException.Methods inherited from class java.io.FilterReader
markSupported
-
Method Details
-
builder
Constructs a newUncheckedFilterReader.Builder.- Returns:
- a new
UncheckedFilterReader.Builder.
-
close
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterReader- Throws:
UncheckedIOException
-
mark
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
markin classFilterReader- Throws:
UncheckedIOException
-
read
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
readin classFilterReader- Throws:
UncheckedIOException
-
read
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
readin classReader- Throws:
UncheckedIOException
-
read
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
readin classFilterReader- Throws:
UncheckedIOException
-
read
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
readin interfaceReadable- Overrides:
readin classReader- Throws:
UncheckedIOException
-
ready
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
readyin classFilterReader- Throws:
UncheckedIOException
-
reset
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
resetin classFilterReader- Throws:
UncheckedIOException
-
skip
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
skipin classFilterReader- Throws:
UncheckedIOException
-