public class RingsDecryptionProcessor extends SimpleCommandProcessor
Modifier and Type | Field and Description |
---|---|
static String |
OUTPUT_DIR_NAME |
command
Constructor and Description |
---|
RingsDecryptionProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Properties props)
This particular Processor doesn't require any configuration since its
purpose is so specific.
|
String |
getDirName()
Get the name of the directory where the output of the processor is
placed.
|
String |
getOutputFileName(String inputFileName)
Get the name that will be assigned to an output file, given the input
file name.
|
boolean |
verifyConfiguration()
Verify that the Processor has been properly configured.
|
process, process, processFileList, validateCommand
public static final String OUTPUT_DIR_NAME
public String getDirName()
Processor
getDirName
in interface Processor
getDirName
in class SimpleCommandProcessor
gov.nasa.pds.report.processing.Processor.getDirName()
public void configure(Properties props)
configure
in interface Processor
configure
in class SimpleCommandProcessor
props
- A Properties
containing the needed
configuration values.gov.nasa.pds.report.processing.Processor.configure()
public String getOutputFileName(String inputFileName)
Processor
getOutputFileName
in interface Processor
getOutputFileName
in class SimpleCommandProcessor
inputFileName
- The name of the input fileTODO: Make this more robust or figure out a better way to determine how
files will be renamed. Perhaps include something to specify this in
configuration. For example, we could specify the gunzip renaming with a
config value of -<.gz>+<>. The value to untar a text file might
look like -+.
public boolean verifyConfiguration()
Processor
verifyConfiguration
in interface Processor
verifyConfiguration
in class SimpleCommandProcessor
gov.nasa.pds.report.processing.Processor.verifyConfiguration()
Copyright © 2010–2016 Planetary Data System. All rights reserved.