gov.nasa.pds.report.processing
Interface Processor

All Known Implementing Classes:
LogReformatProcessor, RingsDecryptionProcessor

public interface Processor


Method Summary
 void configure(Properties props)
          Configure the Processor, providing the details needed to process logs.
 String getDirName()
          Get the name of the directory where the output of the processor is placed.
 void process(File in, File out)
          Process the files in the input directory and place them in the output directory.
 

Method Detail

process

void process(File in,
             File out)
             throws ProcessingException
Process the files in the input directory and place them in the output directory. The process performed will vary based on the implementation and the output will be placed in a sibling directory. The name of that directory will vary based upon the implementation being used.

Parameters:
in - The directory containing the input files
out - The directory where output is placed
Throws:
ProcessingException - If an error occurs.

getDirName

String getDirName()
Get the name of the directory where the output of the processor is placed.

Returns:
The name of the directory created by the Processor.

configure

void configure(Properties props)
               throws ProcessingException
Configure the Processor, providing the details needed to process logs.

Parameters:
props - A Properties containing the needed configuration values.
Throws:
ProcessingException - If the provided Properties do not contain the needed configuration values.


Copyright © 2010–2015 Planetary Data System. All rights reserved.