|
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.SftpPacket
com.jscape.inet.sftp.packets.SshFxpStatus
com.jscape.inet.sftp.v3.packets.SshFxpStatus2
public class SshFxpStatus2
The SSH_FXP_STATUS packet version 2.
Field Summary |
---|
Fields inherited from class com.jscape.inet.sftp.packets.SshFxpStatus |
---|
TYPE |
Constructor Summary | |
---|---|
SshFxpStatus2(int code,
java.lang.String message,
java.lang.String languageTag)
Creates a new packet instance. |
Method Summary | |
---|---|
java.lang.String |
getLanguageTag()
Obtains the message language tag. |
java.lang.String |
getMessage()
Obtains the status message. |
static SftpPacket |
readFrom(java.io.InputStream in,
java.lang.String charset)
Reads the packet from the stream. |
java.lang.String |
toString()
Provides the human-readable packet representation. |
void |
writeTo(java.io.OutputStream out,
java.lang.String charset)
Writes the current packet to the specified stream. |
Methods inherited from class com.jscape.inet.sftp.packets.SshFxpStatus |
---|
getCode |
Methods inherited from class com.jscape.inet.sftp.SftpPacket |
---|
getId, getType, readFrom, readFrom, setId, writeTo |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SshFxpStatus2(int code, java.lang.String message, java.lang.String languageTag)
code
- the status codemessage
- the status messagelanguageTag
- the message language tagMethod Detail |
---|
public static SftpPacket readFrom(java.io.InputStream in, java.lang.String charset) throws java.io.IOException
in
- the source input stream
java.io.IOException
- if an I/O error occurspublic java.lang.String getMessage()
public java.lang.String getLanguageTag()
public void writeTo(java.io.OutputStream out, java.lang.String charset) throws java.io.IOException
writeTo
in class SshFxpStatus
out
- the output stream
java.io.IOException
- if I/O error occuredpublic java.lang.String toString()
toString
in class SshFxpStatus
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |