com.sshtools.j2ssh.transport.compression
Class SshCompressionFactory

java.lang.Object
  extended by 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
           
 
Constructor Summary
protected SshCompressionFactory()
          Creates a new SshCompressionFactory object.
 
Method Summary
static java.lang.String getDefaultCompression()
           
static java.util.List getSupportedCompression()
           
static void initialize()
           
static SshCompression newInstance(java.lang.String algorithmName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SshCompressionFactory

protected SshCompressionFactory()
Creates a new SshCompressionFactory object.

Method Detail

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