Package com.sshtools.j2ssh.connection
Class ChannelOutputStream
java.lang.Object
java.io.OutputStream
com.sshtools.j2ssh.connection.ChannelOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Version:
- $Revision: 1.27 $
- Author:
- $author$
-
Constructor Summary
ConstructorsConstructorDescriptionChannelOutputStream(Channel channel) Creates a new ChannelOutputStream object.ChannelOutputStream(Channel channel, Integer type) Creates a new ChannelOutputStream object. -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
ChannelOutputStream
Creates a new ChannelOutputStream object.- Parameters:
channel-type-
-
ChannelOutputStream
Creates a new ChannelOutputStream object.- Parameters:
channel-
-
-
Method Details
-
isClosed
public boolean isClosed()- Returns:
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Parameters:
b-off-len-- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Parameters:
b-- Throws:
IOException
-