public final class UncheckedFilterOutputStream extends FilterOutputStream
FilterOutputStream that throws UncheckedIOException instead of UncheckedIOException.
To build an instance, see UncheckedFilterOutputStream.Builder.
FilterOutputStream,
UncheckedIOException,
UncheckedIOException| Modifier and Type | Class and Description |
|---|---|
static class |
UncheckedFilterOutputStream.Builder
Builds a new
UncheckedFilterOutputStream instance. |
out| Modifier and Type | Method and Description |
|---|---|
static UncheckedFilterOutputStream.Builder |
builder()
Constructs a new
UncheckedFilterOutputStream.Builder. |
void |
close()
Calls this method's super and rethrow
IOException as UncheckedIOException. |
void |
flush()
Calls this method's super and rethrow
IOException as UncheckedIOException. |
void |
write(byte[] b)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
void |
write(byte[] b,
int off,
int len)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
void |
write(int b)
Calls this method's super and rethrow
IOException as UncheckedIOException. |
public static UncheckedFilterOutputStream.Builder builder()
UncheckedFilterOutputStream.Builder.UncheckedFilterOutputStream.Builder.public void close() throws UncheckedIOException
IOException as UncheckedIOException.close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamUncheckedIOExceptionpublic void flush() throws UncheckedIOException
IOException as UncheckedIOException.flush in interface Flushableflush in class FilterOutputStreamUncheckedIOExceptionpublic void write(byte[] b) throws UncheckedIOException
IOException as UncheckedIOException.write in class FilterOutputStreamUncheckedIOExceptionpublic void write(byte[] b, int off, int len) throws UncheckedIOException
IOException as UncheckedIOException.write in class FilterOutputStreamUncheckedIOExceptionpublic void write(int b) throws UncheckedIOException
IOException as UncheckedIOException.write in class FilterOutputStreamUncheckedIOExceptionCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.