Package org.apache.commons.io.output
Class UncheckedFilterOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.commons.io.output.UncheckedFilterOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
A 
FilterOutputStream that throws UncheckedIOException instead of UncheckedIOException.
 
 To build an instance, use UncheckedFilterOutputStream.Builder.
 
- Since:
- 2.12.0
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class java.io.FilterOutputStreamout
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Constructs a newUncheckedFilterOutputStream.Builder.voidclose()Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidflush()Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidwrite(byte[] b) Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidwrite(byte[] b, int off, int len) Calls this method's super and rethrowIOExceptionasUncheckedIOException.voidwrite(int b) Calls this method's super and rethrowIOExceptionasUncheckedIOException.
- 
Method Details- 
builderConstructs a newUncheckedFilterOutputStream.Builder.- Returns:
- a new UncheckedFilterOutputStream.Builder.
 
- 
closeCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- FilterOutputStream
- Throws:
- UncheckedIOException
 
- 
flushCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Specified by:
- flushin interface- Flushable
- Overrides:
- flushin class- FilterOutputStream
- Throws:
- UncheckedIOException
 
- 
writeCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- writein class- FilterOutputStream
- Throws:
- UncheckedIOException
 
- 
writeCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- writein class- FilterOutputStream
- Throws:
- UncheckedIOException
 
- 
writeCalls this method's super and rethrowIOExceptionasUncheckedIOException.- Overrides:
- writein class- FilterOutputStream
- Throws:
- UncheckedIOException
 
 
-