com.sshtools.j2ssh.transport.publickey
Class SshPublicKeyFormatFactory

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

public class SshPublicKeyFormatFactory
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
SshPublicKeyFormatFactory()
           
 
Method Summary
static java.lang.String getDefaultFormatType()
           
static java.util.List getSupportedFormats()
           
static SshPublicKeyFormat 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

SshPublicKeyFormatFactory

public SshPublicKeyFormatFactory()
Method Detail

getSupportedFormats

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

newInstance

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

getDefaultFormatType

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