public class InputTablesParameter extends AbstractInputTableParameter<TableProducer[]> implements MultiParameter
| Constructor and Description |
|---|
InputTablesParameter(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanParameter |
getMultiParameter()
Returns the parameter which determines whether just the first or all
tables in a multi-table container file will be used.
|
char |
getValueSeparator()
Returns a character which is to be used as the separator between
values found in adjacent occurrences of the parameter in the
execution environment.
|
String |
objectToString(Environment env,
TableProducer[] tables)
Sets the value of this parameter from an array of TableProducers.
|
TableProducer[] |
stringToObject(Environment env,
String sval)
The
toString method of the returned elements
can be used to refer to them in user-directed messages. |
getFormatParameter, getLocationFormList, getStreamParameter, makeTable, makeTable, makeTables, setTableDescriptionclearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getUsage, getValueClass, isNullPermitted, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setUsage, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toStringpublic InputTablesParameter(String name)
name - parameter namepublic BooleanParameter getMultiParameter()
public char getValueSeparator()
MultiParametergetValueSeparator in interface MultiParameterpublic TableProducer[] stringToObject(Environment env, String sval) throws TaskException
toString method of the returned elements
can be used to refer to them in user-directed messages.stringToObject in class Parameter<TableProducer[]>env - execution environment; in most cases this is not required
but for some purposes environment-specific characteristics
may influence the resultsval - non-null, non-empty string valueTaskExceptionpublic String objectToString(Environment env, TableProducer[] tables)
toString method of each element should be suitable
for use in user-directed messges.objectToString in class Parameter<TableProducer[]>env - execution environmenttables - typed parameter valueCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.