ProcessingFilterpublic class KeepColumnFilter extends BasicFilter
| Constructor | Description |
|---|---|
KeepColumnFilter() |
| Modifier and Type | Method | Description |
|---|---|---|
ProcessingStep |
createStep(java.util.Iterator argIt) |
Creates a new ProcessingStep based on a sequence of command-line
arguments.
|
protected java.lang.String[] |
getDescriptionLines() |
|
static uk.ac.starlink.table.StarTable |
keepColumnTable(uk.ac.starlink.table.StarTable table,
java.lang.String colIdList) |
Returns a table which selects a number of columns from its base
table by column ID.
|
explainSyntax, getDescription, getName, getUsageprotected java.lang.String[] getDescriptionLines()
getDescriptionLines in class BasicFilterpublic ProcessingStep createStep(java.util.Iterator argIt) throws ArgException
ProcessingFilterIf 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.
argIt - iterator over command-line arguments positioned
at the first oneArgExceptionpublic static uk.ac.starlink.table.StarTable keepColumnTable(uk.ac.starlink.table.StarTable table,
java.lang.String colIdList)
throws java.io.IOException
table - base tablecolIdList - list of column IDs, one for each column
in the output tablejava.io.IOExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.