public final class UncheckedBufferedReader
extends java.io.BufferedReader
BufferedReader that throws UncheckedIOException instead of IOException.
To build an instance, see UncheckedBufferedReader.Builder.
BufferedReader,
IOException,
UncheckedIOException| Modifier and Type | Class and Description |
|---|---|
static class |
UncheckedBufferedReader.Builder
Builds a new
UncheckedBufferedReader instance. |
| Modifier and Type | Method and Description |
|---|---|
static UncheckedBufferedReader.Builder |
builder()
Constructs a new
UncheckedBufferedReader.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. |
java.lang.String |
readLine()
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 UncheckedBufferedReader.Builder builder()
UncheckedBufferedReader.Builder.UncheckedBufferedReader.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.BufferedReaderjava.io.UncheckedIOExceptionpublic void mark(int readAheadLimit)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.mark in class java.io.BufferedReaderjava.io.UncheckedIOExceptionpublic int read()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.read in class java.io.BufferedReaderjava.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.BufferedReaderjava.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 java.lang.String readLine()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.readLine in class java.io.BufferedReaderjava.io.UncheckedIOExceptionpublic boolean ready()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.ready in class java.io.BufferedReaderjava.io.UncheckedIOExceptionpublic void reset()
throws java.io.UncheckedIOException
IOException as UncheckedIOException.reset in class java.io.BufferedReaderjava.io.UncheckedIOExceptionpublic long skip(long n)
throws java.io.UncheckedIOException
IOException as UncheckedIOException.skip in class java.io.BufferedReaderjava.io.UncheckedIOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved