java.lang.Object
java.io.OutputStream
com.aoapps.sql.wrapper.OutputStreamWrapper
Wraps an
OutputStream
.- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorDescriptionOutputStreamWrapper
(ConnectionWrapperImpl connectionWrapper, OutputStream wrapped) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
OutputStreamWrapper
-
-
Method Details
-
getConnectionWrapper
Gets the connection wrapper. -
getWrapped
Gets the output stream that is wrapped.- Specified by:
getWrapped
in interfaceWrapper
-
isNoClose
public boolean isNoClose() -
toString
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceNoClose
- Overrides:
close
in classOutputStream
- Throws:
IOException
-