ProcessingFilter
public class SetParameterFilter extends BasicFilter
Constructor | Description |
---|---|
SetParameterFilter() |
Modifier and Type | Method | Description |
---|---|---|
ProcessingStep |
createStep(java.util.Iterator argIt) |
Creates a new ProcessingStep based on a sequence of command-line
arguments.
|
static java.lang.Object |
evaluate(java.lang.String expr,
uk.ac.starlink.table.StarTable table,
java.lang.Class clazz,
java.lang.String type) |
Evaluates an expression in the context of a table.
|
protected java.lang.String[] |
getDescriptionLines() |
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 java.lang.Object evaluate(java.lang.String expr, uk.ac.starlink.table.StarTable table, java.lang.Class clazz, java.lang.String type) throws java.io.IOException
expr
- expression to evaluatetable
- evaluation contextclazz
- required class of result, or null;
a primitive, rather than wrapper, class
should be supplied if availabletype
- user-supplied string corresponding to clazz, or null
(used for error messages only)java.io.IOException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.