|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.sftp.PacketWriter
public final class PacketWriter
Writes the SFTP packets to the output stream.
Constructor Summary | |
---|---|
PacketWriter(java.io.OutputStream out)
Creates a new writer instnce. |
Method Summary | |
---|---|
void |
close()
Closes the current reader and releases all associated resources. |
boolean |
isClosed()
Checks if the current reader is closed. |
void |
writePacket(SftpPacket packet,
java.lang.String charset)
Writes the packet to the stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PacketWriter(java.io.OutputStream out)
out
- the base output streamMethod Detail |
---|
public void close()
public boolean isClosed()
true
if the reader is closed;
false
otherwisepublic void writePacket(SftpPacket packet, java.lang.String charset) throws SftpException
packet
- packet to write
SftpException
- if I/O error occurs
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |