public class ENFtpProcessor extends DetailByDetailProcessor
Processor
that removes the version information from
file names in EN FTP logs.OUTPUT_DIR_NAME
DEFAULT_ERRORS_ALLOWED, errorLinesAllowed, inputDetailMap, outputDetailMap, segmentedInput, segmentedOutput
Constructor and Description |
---|
ENFtpProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Properties props)
Configure the Processor, providing the details needed to process logs.
|
protected boolean |
processLine(ReadWriter rw)
Use the provided reader to read in a line, reformat it, then write the
new version of the line using the provided writer.
|
boolean |
verifyConfiguration()
Verify that the Processor has been properly configured.
|
getDirName, getNextDetail, getOutputFileName, parseInputLine
configure, determineErrorTolerance, formatOutputLine, parseInputSpec, parseOutputSpec, process, process, processFile, processFileList, resetDetailMaps, validateLineSpecs
public void configure(Properties props) throws ProcessingException
Processor
configure
in interface Processor
configure
in class DetailByDetailProcessor
props
- A Properties
containing the needed
configuration values.ProcessingException
- If the provided Properties do not contain
the needed configuration values.gov.nasa.pds.report.processing.Processor.configure()
public boolean verifyConfiguration()
Processor
verifyConfiguration
in interface Processor
verifyConfiguration
in class LogReformatProcessor
gov.nasa.pds.report.processing.Processor.verifyConfiguration()
protected boolean processLine(ReadWriter rw) throws ProcessingException
processLine
in class LogReformatProcessor
rw
- A ReadWriter
that is already
initialized to read and write from the input
and output files.ProcessingException
- If an error occurs.Copyright © 2010–2017 Planetary Data System. All rights reserved.