|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.filter.BasicFilter
uk.ac.starlink.ttools.filter.ProgressFilter
public class ProgressFilter
Processing step which writes table progress to the terminal. More than one of these active at once using the same output stream is likely to be messy.
Constructor Summary | |
---|---|
ProgressFilter()
Constructs a new filter which writes progress to System.err. |
|
ProgressFilter(PrintStream pstrm)
Constructs a new filter which writes progress to a given print stream. |
Method Summary | |
---|---|
ProcessingStep |
createStep(Iterator argIt)
Creates a new ProcessingStep based on a sequence of command-line arguments. |
protected String[] |
getDescriptionLines()
|
StarTable |
wrap(StarTable in)
Performs a table filtering step. |
Methods inherited from class uk.ac.starlink.ttools.filter.BasicFilter |
---|
explainSyntax, getDescription, getName, getUsage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgressFilter()
public ProgressFilter(PrintStream pstrm)
pstrm
- destination terminal for progress charactersMethod Detail |
---|
protected String[] getDescriptionLines()
getDescriptionLines
in class BasicFilter
public ProcessingStep createStep(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 StarTable wrap(StarTable in)
ProcessingStep
wrap
in interface ProcessingStep
in
- input table
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |