com.sshtools.j2ssh.transport.compression
Class SshCompressionFactory
java.lang.Object
com.sshtools.j2ssh.transport.compression.SshCompressionFactory
public class SshCompressionFactory
- extends java.lang.Object
- Version:
- $Revision: 1.1 $
- Author:
- $author$
Field Summary |
static java.lang.String |
COMP_NONE
|
private static java.util.Map |
comps
|
private static java.lang.String |
defaultAlgorithm
|
private static org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMP_NONE
public static final java.lang.String COMP_NONE
- See Also:
- Constant Field Values
defaultAlgorithm
private static java.lang.String defaultAlgorithm
comps
private static java.util.Map comps
log
private static org.apache.commons.logging.Log log
SshCompressionFactory
protected SshCompressionFactory()
- Creates a new SshCompressionFactory object.
initialize
public static void initialize()
getDefaultCompression
public static java.lang.String getDefaultCompression()
- Returns:
getSupportedCompression
public static java.util.List getSupportedCompression()
- Returns:
newInstance
public static SshCompression newInstance(java.lang.String algorithmName)
throws AlgorithmNotSupportedException
- Parameters:
algorithmName
-
- Returns:
-
- Throws:
AlgorithmNotSupportedException