ProcessingFilter
, ProcessingStep
public class FixNamesFilter extends BasicFilter implements ProcessingStep
Constructor | Description |
---|---|
FixNamesFilter() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
ProcessingStep |
createStep(java.util.Iterator argIt) |
Creates a new ProcessingStep based on a sequence of command-line
arguments.
|
java.lang.String |
fixName(java.lang.String name) |
Performs the name unmunging.
|
java.lang.String[] |
getDescriptionLines() |
|
uk.ac.starlink.table.StarTable |
wrap(uk.ac.starlink.table.StarTable base) |
Performs a table filtering step.
|
explainSyntax, getDescription, getName, getUsage
public java.lang.String[] getDescriptionLines()
getDescriptionLines
in class BasicFilter
public ProcessingStep createStep(java.util.Iterator argIt) throws ArgException
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 oneArgException
public uk.ac.starlink.table.StarTable wrap(uk.ac.starlink.table.StarTable base)
ProcessingStep
wrap
in interface ProcessingStep
base
- input tablepublic java.lang.String fixName(java.lang.String name)
name
- input nameCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.