|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sshtools.j2ssh.transport.compression.SshCompressionFactory
Creates new instances of SshCompression objects. Will load additional compression methods from the SSH API configuration file ssh.xml as long as they follow the name@domain syntax.
Field Summary | |
static java.lang.String |
COMP_NONE
Defines the none method |
Constructor Summary | |
protected |
SshCompressionFactory()
Constructor for the SshCompressionFactory object |
Method Summary | |
static java.lang.String |
getDefaultCompression()
Returns the default compression method. |
static java.util.List |
getSupportedCompression()
Returns the supported compression methods available. |
static SshCompression |
newInstance(java.lang.String algorithmName)
Create a new instance of the compression method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COMP_NONE
Constructor Detail |
protected SshCompressionFactory()
Method Detail |
public static java.lang.String getDefaultCompression()
Returns the default compression method.
public static java.util.List getSupportedCompression()
Returns the supported compression methods available.
public static SshCompression newInstance(java.lang.String algorithmName) throws AlgorithmNotSupportedException
Create a new instance of the compression method.
algorithmName
- The compression algorithm to
create
AlgorithmNotSupportedException
- Thrown if the algorithm is not
supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |