Package org.apache.commons.io.input
Class UncheckedBufferedReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
org.apache.commons.io.input.UncheckedBufferedReader
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Readable
A 
BufferedReader that throws UncheckedIOException instead of IOException.
 
 To build an instance, use UncheckedBufferedReader.Builder.
 
- Since:
- 2.12.0
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field Summary
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Constructs a newUncheckedBufferedReader.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.readLine()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.BufferedReaderlines, markSupported
- 
Method Details- 
builderConstructs a newUncheckedBufferedReader.Builder.- Returns:
- a new UncheckedBufferedReader.Builder.
 
- 
closeCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- BufferedReader
- Throws:
- UncheckedIOException
 
- 
markCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- markin class- BufferedReader
- Throws:
- UncheckedIOException
 
- 
readCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- readin class- BufferedReader
- Throws:
- UncheckedIOException
 
- 
readCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- readin class- Reader
- Throws:
- UncheckedIOException
 
- 
readCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- readin class- BufferedReader
- Throws:
- UncheckedIOException
 
- 
readCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
- readin interface- Readable
- Overrides:
- readin class- Reader
- Throws:
- UncheckedIOException
 
- 
readLineCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- readLinein class- BufferedReader
- Throws:
- UncheckedIOException
 
- 
readyCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- readyin class- BufferedReader
- Throws:
- UncheckedIOException
 
- 
resetCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- resetin class- BufferedReader
- Throws:
- UncheckedIOException
 
- 
skipCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- skipin class- BufferedReader
- Throws:
- UncheckedIOException
 
 
-