|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.monica.javacom.ssh.MJCSSHZLibCompression
Zlib RFC 1950
Constructor Summary | |
MJCSSHZLibCompression()
Default constructor for the class. |
Method Summary | |
java.lang.String |
compress(java.lang.String data)
Compresses the given String. |
java.lang.String |
decompress(java.lang.String data)
Decompresses the given String. |
java.lang.String |
getCompressionAlgorithmName()
Returns the MJC name of the MJCSSHCompressionAlgorithm. |
java.lang.String |
getCompressionAlgorithmVersion()
Returns the MJC version of the MJCSSHCompressionAlgorithm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MJCSSHZLibCompression()
Method Detail |
public java.lang.String getCompressionAlgorithmName()
getCompressionAlgorithmName
in interface MJCSSHCompressionAlgorithm
public java.lang.String getCompressionAlgorithmVersion()
getCompressionAlgorithmVersion
in interface MJCSSHCompressionAlgorithm
public java.lang.String compress(java.lang.String data)
compress
in interface MJCSSHCompressionAlgorithm
String
- s: the to be compressed Stringpublic java.lang.String decompress(java.lang.String data)
decompress
in interface MJCSSHCompressionAlgorithm
String
- s: the to be decompressed String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |