|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.util.tokenizer.TokenizerSettings
org.knime.base.node.io.filereader.FileReaderSettings
org.knime.base.node.io.filereader.FileReaderNodeSettings
org.knime.base.node.io.filereader.VariableFileReaderNodeSettings
class VariableFileReaderNodeSettings
| Field Summary |
|---|
| Fields inherited from class org.knime.base.node.io.filereader.FileReaderSettings |
|---|
CFGKEY_DATAURL, DEF_ROWPREFIX |
| Constructor Summary | |
|---|---|
VariableFileReaderNodeSettings()
Creates an empty settings object. |
|
VariableFileReaderNodeSettings(FileReaderNodeSettings clonee)
Create new settings object for the variable file reader based on the given settings object. |
|
VariableFileReaderNodeSettings(NodeSettingsRO cfg)
Creates a new settings object initialized with the values from the passed object. |
|
VariableFileReaderNodeSettings(String variableName)
|
|
VariableFileReaderNodeSettings(VariableFileReaderNodeSettings clonee)
Creates a clone. |
|
| Method Summary | |
|---|---|
(package private) VariableFileReaderNodeSettings |
createSettingsFrom(Map<String,FlowVariable> stack)
Creates a clone from this object replacing the dataURL location by the value from stack. |
String |
getVariableName()
|
void |
saveToConfiguration(NodeSettingsWO cfg)
Writes all settings into the passed configuration object. |
void |
setVariableName(String variableName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VariableFileReaderNodeSettings()
VariableFileReaderNodeSettings(String variableName)
variableName - the name of the scope variable to read the file
location frompublic VariableFileReaderNodeSettings(VariableFileReaderNodeSettings clonee)
clonee - the thing to clone.public VariableFileReaderNodeSettings(FileReaderNodeSettings clonee)
clonee - clone this settings object
public VariableFileReaderNodeSettings(NodeSettingsRO cfg)
throws InvalidSettingsException
cfg - the config to read the values from
InvalidSettingsException - if cfg object is invalid| Method Detail |
|---|
public void setVariableName(String variableName)
variableName - the variableName to setpublic String getVariableName()
VariableFileReaderNodeSettings createSettingsFrom(Map<String,FlowVariable> stack)
throws MalformedURLException,
InvalidSettingsException
stack - the map containing all currently available variables and
their values
InvalidSettingsException - if the variable is not on the stack
MalformedURLException - if the value of the variable is not a valid
URLpublic void saveToConfiguration(NodeSettingsWO cfg)
NodeSettingsWO
object. Using the cfg object to construct a new FileReaderSettings object
should lead to an object identical to this.
saveToConfiguration in class FileReaderNodeSettingscfg - the config object the settings are stored into
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||