public class ProgressFilter extends BasicFilter implements ProcessingStep
Constructor and Description |
---|
ProgressFilter()
Constructs a new filter which writes progress to System.err.
|
ProgressFilter(java.io.PrintStream pstrm)
Constructs a new filter which writes progress to a given print stream.
|
Modifier and Type | Method and Description |
---|---|
ProcessingStep |
createStep(java.util.Iterator argIt)
Creates a new ProcessingStep based on a sequence of command-line
arguments.
|
protected java.lang.String[] |
getDescriptionLines() |
uk.ac.starlink.table.StarTable |
wrap(uk.ac.starlink.table.StarTable in)
Performs a table filtering step.
|
explainSyntax, getDescription, getName, getUsage
public ProgressFilter()
public ProgressFilter(java.io.PrintStream pstrm)
pstrm
- destination terminal for progress charactersprotected java.lang.String[] getDescriptionLines()
getDescriptionLines
in class BasicFilter
public ProcessingStep createStep(java.util.Iterator argIt)
ProcessingFilter
If the argument list is badly-formed as far as this filter is
concerned, an ArgException
should be thrown.
If its usageFrament
is blank, it will be filled in
later using this mode's usage text.
createStep
in interface ProcessingFilter
argIt
- iterator over command-line arguments positioned
at the first onepublic uk.ac.starlink.table.StarTable wrap(uk.ac.starlink.table.StarTable in)
ProcessingStep
wrap
in interface ProcessingStep
in
- input tableCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.