Package org.apache.commons.io.output
Class UncheckedFilterWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.commons.io.output.UncheckedFilterWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
A
FilterWriter that throws UncheckedIOException instead of IOException.
To build an instance, use UncheckedFilterWriter.Builder.
- Since:
- 2.12.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class java.io.FilterWriter
out -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) Calls this method's super and rethrowIOExceptionasUncheckedIOException.append(CharSequence csq) Calls this method's super and rethrowIOExceptionasUncheckedIOException.append(CharSequence csq, int start, int end) Calls this method's super and rethrowIOExceptionasUncheckedIOException.builder()Constructs a newUncheckedFilterWriter.Builder.voidclose()Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidflush()Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidwrite(char[] cbuf) Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidwrite(char[] cbuf, int off, int len) Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidwrite(int c) Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidCalls this method's super and rethrowIOExceptionasUncheckedIOException.voidCalls this method's super and rethrowIOExceptionasUncheckedIOException.
-
Method Details
-
builder
Constructs a newUncheckedFilterWriter.Builder.- Returns:
- a new
UncheckedFilterWriter.Builder.
-
append
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter- Throws:
UncheckedIOException
-
append
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter- Throws:
UncheckedIOException
-
append
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter- Throws:
UncheckedIOException
-
close
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterWriter- Throws:
UncheckedIOException
-
flush
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterWriter- Throws:
UncheckedIOException
-
write
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
writein classWriter- Throws:
UncheckedIOException
-
write
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
writein classFilterWriter- Throws:
UncheckedIOException
-
write
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
writein classFilterWriter- Throws:
UncheckedIOException
-
write
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
writein classWriter- Throws:
UncheckedIOException
-
write
Calls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
writein classFilterWriter- Throws:
UncheckedIOException
-