public class HandlerFactory extends Object
Modifier and Type | Field and Description |
---|---|
static int |
COMPARE |
static int |
INGEST |
static int |
VALIDATE |
Modifier and Type | Method and Description |
---|---|
static HandlerFactory |
getInstance() |
Handler |
newInstance(int mode,
File reportFile,
String severity)
Get an instance of a Handler object for the human-readable report.
|
public static final int COMPARE
public static final int INGEST
public static final int VALIDATE
public static HandlerFactory getInstance()
public Handler newInstance(int mode, File reportFile, String severity) throws SecurityException, IOException, UnknownHandlerConfigurationException
mode
- Specify a logging mode (COMPARE=1, INGEST=2)reportFile
- Specify a file name or set to 'null' to write to standard out.severity
- Specify the severity level and above for the reporting. Must be set
to 'Info', 'Warning', or 'Error'.SecurityException
IOException
UnknownHandlerConfigurationException
Copyright © 2010–2017 Planetary Data System. All rights reserved.