gov.nasa.pds.krtool.handler
Class HandlerFactory

java.lang.Object
  extended by gov.nasa.pds.krtool.handler.HandlerFactory

public class HandlerFactory
extends java.lang.Object

Class to create an appropriate Handler object for the Keyword Report Tool (KRTool).

Author:
mcayanan

Method Summary
static HandlerFactory getInstance()
           
 java.util.logging.Handler newInstance(java.io.File reportFile)
          Get an instance of a Handler object for the human-readable report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static HandlerFactory getInstance()

newInstance

public java.util.logging.Handler newInstance(java.io.File reportFile)
                                      throws java.lang.SecurityException,
                                             java.io.IOException,
                                             UnknownHandlerConfigurationException
Get an instance of a Handler object for the human-readable report.

Parameters:
reportFile - Specify a file name or set to 'null' to write to standard out.
Returns:
A proper Handler object based on the input parameters.
Throws:
java.lang.SecurityException
java.io.IOException
UnknownHandlerConfigurationException


Copyright © 2005-2009 Planetary Data System. All Rights Reserved.