gov.nasa.pds.vtool.handler
Class HandlerFactory
java.lang.Object
gov.nasa.pds.vtool.handler.HandlerFactory
public class HandlerFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static HandlerFactory getInstance()
newInstance
public Handler newInstance(File reportFile,
String reportStyle,
String severity)
throws SecurityException,
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.reportStyle
- Specify the report view. Must be set to 'full', 'min', or 'sum'.severity
- Specify the severity level and above for the reporting. Must be set
to 'Info', 'Warning', or 'Error'.
- Returns:
- A proper Handler object based on the input parameters.
- Throws:
SecurityException
IOException
UnknownHandlerConfigurationException
Copyright © 2005-2013 Planetary Data System. All Rights Reserved.