public class InputTablesParameter extends AbstractInputTableParameter<TableProducer[]> implements uk.ac.starlink.task.MultiParameter
Constructor and Description |
---|
InputTablesParameter(java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
uk.ac.starlink.task.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() |
java.lang.String |
objectToString(uk.ac.starlink.task.Environment env,
TableProducer[] tables)
Sets the value of this parameter from an array of TableProducers.
|
TableProducer[] |
stringToObject(uk.ac.starlink.task.Environment env,
java.lang.String sval)
The
toString method of the returned elements
can be used to refer to them in user-directed messages. |
getFormatParameter, getLocationFormList, getStreamParameter, makeTable, makeTables, setTableDescription
clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getUsage, getValueClass, isNullPermitted, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setUsage, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toString
public InputTablesParameter(java.lang.String name)
name
- parameter namepublic uk.ac.starlink.task.BooleanParameter getMultiParameter()
public char getValueSeparator()
getValueSeparator
in interface uk.ac.starlink.task.MultiParameter
public TableProducer[] stringToObject(uk.ac.starlink.task.Environment env, java.lang.String sval) throws uk.ac.starlink.task.TaskException
toString
method of the returned elements
can be used to refer to them in user-directed messages.stringToObject
in class uk.ac.starlink.task.Parameter<TableProducer[]>
uk.ac.starlink.task.TaskException
public java.lang.String objectToString(uk.ac.starlink.task.Environment env, TableProducer[] tables)
toString
method of each element should be suitable
for use in user-directed messges.objectToString
in class uk.ac.starlink.task.Parameter<TableProducer[]>
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.