ProcessingFilter
public 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, getUsage
protected 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.
argIt
- iterator over command-line arguments positioned
at the first oneArgException
public 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.IOException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.