Package org.jruby.util.io
Class ChannelHelper.SyncOutputStreamChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
org.jruby.util.io.ChannelHelper.SyncOutputStreamChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,InterruptibleChannel,WritableByteChannel
- Enclosing class:
- ChannelHelper
private static class ChannelHelper.SyncOutputStreamChannel
extends AbstractInterruptibleChannel
implements WritableByteChannel
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final WritableByteChannelprivate final OutputStream -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
Field Details
-
output
-
out
-
-
Constructor Details
-
SyncOutputStreamChannel
SyncOutputStreamChannel(OutputStream output)
-
-
Method Details
-
implCloseChannel
- Specified by:
implCloseChannelin classAbstractInterruptibleChannel- Throws:
IOException
-
write
- Specified by:
writein interfaceWritableByteChannel- Throws:
IOException
-