tools.jce
Class ProviderInfo

java.lang.Object
  extended bytools.jce.ProviderInfo

public class ProviderInfo
extends Object

Version:
"$Id: ProviderInfo.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Volker Roth

Field Summary
static String OPT_DESCR
          The options descriptor.
protected  ArgsParser p_
          The option parser used to parse command line args.
protected static Map pmap_
          The map that maps provider names to their base class.
protected  Provider[] providers_
          The available providers.
 
Constructor Summary
ProviderInfo()
           
 
Method Summary
 void dump()
           
 void dumpKnownProviders()
           
 void dumpRegisteredProviders()
           
 void help()
           
 void info()
           
static Map initPMap()
          Initialises the map that maps names of providers to the repsective provider classes.
static void main(String[] argv)
          Starts the tool by creatung and instance and running it.
 void run(String[] argv)
           
 void setProviders()
           
static void setProviders(String[] aliases)
          This method removes all registered providers and registers the given one in the specified order.
 void test(String[] cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPT_DESCR

public static final String OPT_DESCR
The options descriptor.

See Also:
Constant Field Values

pmap_

protected static Map pmap_
The map that maps provider names to their base class.


p_

protected ArgsParser p_
The option parser used to parse command line args.


providers_

protected Provider[] providers_
The available providers.

Constructor Detail

ProviderInfo

public ProviderInfo()
Method Detail

main

public static void main(String[] argv)
Starts the tool by creatung and instance and running it. Command line args are passed to the instance for processing.


initPMap

public static Map initPMap()
Initialises the map that maps names of providers to the repsective provider classes.


dumpKnownProviders

public void dumpKnownProviders()
                        throws IOException
Throws:
IOException

dumpRegisteredProviders

public void dumpRegisteredProviders()
                             throws IOException
Throws:
IOException

setProviders

public static void setProviders(String[] aliases)
                         throws NoSuchProviderException
This method removes all registered providers and registers the given one in the specified order. The names must be either the class name or the known name of the providers.

Throws:
NoSuchProviderException

setProviders

public void setProviders()
                  throws NoSuchProviderException,
                         ArgsParserException
Throws:
NoSuchProviderException
ArgsParserException

info

public void info()
          throws IOException
Throws:
IOException

help

public void help()

dump

public void dump()

test

public void test(String[] cls)

run

public void run(String[] argv)
         throws Exception
Throws:
Exception


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.