public abstract class AbstractInputTableParameter<T> extends Parameter<T>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInputTableParameter(String name,
Class<T> clazz)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InputFormatParameter |
getFormatParameter()
Returns the parameter which deals with input format.
|
static String |
getLocationFormList(InputFormatParameter fmtParam)
Returns an XML list element enumerating the forms in which a
single table may be specified.
|
BooleanParameter |
getStreamParameter()
Returns the stream toggle parameter associated with this one.
|
protected StarTable |
makeTable(Environment env,
String loc)
Constructs a StarTable from a location string given the current
state of this parameter and its associated parameter values.
|
StarTable |
makeTable(String loc,
String fmt,
boolean stream,
StarTableFactory tfact)
Reads a table given fixed values for the various parameters.
|
protected StarTable[] |
makeTables(Environment env,
String loc)
Constructs an array of tables from a location string given the current
state of this parameter and its associated parameter values.
|
void |
setTableDescription(String inDescrip)
Sets the wording used to refer to the input table in parameter
descriptions.
|
clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getUsage, getValueClass, isNullPermitted, objectToString, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setUsage, setValue, setValueFromObject, setValueFromString, stringToObject, stringValue, toArray, toStringpublic InputFormatParameter getFormatParameter()
public BooleanParameter getStreamParameter()
public final void setTableDescription(String inDescrip)
inDescrip - text to replace "the input table"protected StarTable makeTable(Environment env, String loc) throws TaskException
env - execution environmentloc - table location stringTaskExceptionpublic StarTable makeTable(String loc, String fmt, boolean stream, StarTableFactory tfact) throws IOException, TaskException
loc - table locationfmt - input format stringstream - true for streamed inputtfact - table factoryIOExceptionTaskExceptionprotected StarTable[] makeTables(Environment env, String loc) throws TaskException
env - execution environmentloc - table location stringTaskExceptionpublic static String getLocationFormList(InputFormatParameter fmtParam)
fmtParam - associated input format parameterCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.