com.sshtools.j2ssh.transport.publickey
Class SshPrivateKeyFormatFactory

java.lang.Object
  extended by com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFormatFactory

public class SshPrivateKeyFormatFactory
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private static java.lang.String defaultFormat
           
private static java.util.HashMap formatTypes
           
private static org.apache.commons.logging.Log log
           
private static java.util.Vector types
           
 
Constructor Summary
SshPrivateKeyFormatFactory()
           
 
Method Summary
static java.lang.String getDefaultFormatType()
           
static java.util.List getSupportedFormats()
           
static void initialize()
           
static SshPrivateKeyFormat newInstance(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultFormat

private static java.lang.String defaultFormat

formatTypes

private static java.util.HashMap formatTypes

log

private static org.apache.commons.logging.Log log

types

private static java.util.Vector types
Constructor Detail

SshPrivateKeyFormatFactory

public SshPrivateKeyFormatFactory()
Method Detail

getSupportedFormats

public static java.util.List getSupportedFormats()
Returns:

initialize

public static void initialize()

newInstance

public static SshPrivateKeyFormat newInstance(java.lang.String type)
                                       throws InvalidSshKeyException
Parameters:
type -
Returns:
Throws:
InvalidSshKeyException

getDefaultFormatType

public static java.lang.String getDefaultFormatType()
Returns: