Package org.apache.commons.io.input
Class UncheckedFilterInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.UncheckedFilterInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
A
BufferedReader that throws UncheckedIOException instead of IOException.
To build an instance, use UncheckedFilterInputStream.Builder.
- Since:
- 2.12.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Method Summary
Modifier and TypeMethodDescriptionintCalls this method's super and rethrowIOExceptionasUncheckedIOException.builder()Constructs a newUncheckedFilterInputStream.Builder.voidclose()Calls this method's super and rethrowIOExceptionasUncheckedIOException.intread()Calls this method's super and rethrowIOExceptionasUncheckedIOException.intread(byte[] b) Calls this method's super and rethrowIOExceptionasUncheckedIOException.intread(byte[] b, int off, int len) 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.FilterInputStream
mark, markSupported
-
Method Details
-
builder
Constructs a newUncheckedFilterInputStream.Builder.- Returns:
- a new
UncheckedFilterInputStream.Builder.
-
available
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
availablein classFilterInputStream- Throws:
UncheckedIOException
-
close
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
UncheckedIOException
-
read
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
readin classFilterInputStream- Throws:
UncheckedIOException
-
read
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
readin classFilterInputStream- Throws:
UncheckedIOException
-
read
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
readin classFilterInputStream- Throws:
UncheckedIOException
-
reset
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
resetin classFilterInputStream- Throws:
UncheckedIOException
-
skip
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
skipin classFilterInputStream- Throws:
UncheckedIOException
-