Package | Description |
---|---|
gov.nasa.pds.report.processing |
Modifier and Type | Method and Description |
---|---|
void |
WholeLineProcessor.configure(Properties props) |
void |
SimpleCommandProcessor.configure(Properties props) |
void |
Processor.configure(Properties props)
Configure the Processor, providing the details needed to process logs.
|
void |
NcftpReformatProcessor.configure(Properties props) |
void |
ENFtpProcessor.configure(Properties props) |
void |
DetailByDetailProcessor.configure(Properties props) |
void |
CopyProcessor.configure(Properties props) |
protected void |
LogReformatProcessor.configure(Properties props,
String inputSpecKey,
String outputSpecKey,
boolean allowFlags)
This is a convenience method to assist sub-classes in configuring
their log detail maps and means of parsing input and structuring output.
|
protected String |
LogReformatProcessor.formatOutputLine()
Following the output pattern, create the reformatted version of the log
line, using the log detail values from the input log line.
|
static List<String> |
ReformatUtil.getFileLines(File file)
|
protected String |
DetailByDetailProcessor.getNextDetail(String lineRemaining,
int segmentIndex,
LogDetail detail,
String line)
Get the value of the next detail in the remaining input log line.
|
protected void |
WholeLineProcessor.parseInputLine(String line) |
protected void |
NcftpReformatProcessor.parseInputLine(String line) |
protected abstract void |
LogReformatProcessor.parseInputLine(String line)
Parse a line from an input file and extract the values for presented
details (e.g.
|
protected void |
DetailByDetailProcessor.parseInputLine(String line) |
protected void |
LogReformatProcessor.parseInputSpec(String inputLineSpec,
boolean allowFlags)
Parse the line specification used for input.
|
protected void |
LogReformatProcessor.parseOutputSpec(String outputLineSpec,
boolean allowFlags)
Parse the line specification used for output.
|
void |
WholeLineProcessor.process(File in,
File out) |
void |
SimpleCommandProcessor.process(File in,
File out) |
void |
Processor.process(File in,
File out)
Process the files in the input directory and place them in the output
directory.
|
void |
NcftpReformatProcessor.process(File in,
File out) |
void |
LogReformatProcessor.process(File in,
File out)
Read in a log file, reformat it as per configured, and place the output
in the given directory.
|
void |
CopyProcessor.process(File in,
File out) |
void |
WholeLineProcessor.process(List<File> in,
File out) |
void |
SimpleCommandProcessor.process(List<File> in,
File out) |
void |
Processor.process(List<File> in,
File out)
Process the files in the given list and place them in the output
directory.
|
void |
NcftpReformatProcessor.process(List<File> in,
File out)
Reformat all of the NcFTP logs in the given list and place them in
the given output directory.
|
void |
LogReformatProcessor.process(List<File> in,
File out)
Read in the log files in the given directory, reformat them as per
configured, and place the output in the given directory.
|
void |
CopyProcessor.process(List<File> in,
File out) |
protected void |
LogReformatProcessor.processFile(File in,
File outputDir)
Process a given
File , placing the reformatted version inside a
given directory. |
protected void |
SimpleCommandProcessor.processFileList(List<File> files,
File out)
Run the given command on the list of provided files.
|
protected void |
LogReformatProcessor.processFileList(List<File> files,
File out)
|
protected void |
CopyProcessor.processFileList(List<File> in,
File out) |
protected boolean |
LogReformatProcessor.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.
|
protected boolean |
ENFtpProcessor.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.
|
void |
ProcessingManager.processLogs(Properties props)
Process the logs that have been pulled using the given profile.
|
protected void |
LogReformatProcessor.validateLineSpecs(boolean allowFlags)
Validate the line specifications.
|
Copyright © 2010–2017 Planetary Data System. All rights reserved.