|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.preproc.stringreplacer.StringReplacerSettings
public class StringReplacerSettings
This class holds the settings for the string replacer node.
| Constructor Summary | |
|---|---|
StringReplacerSettings()
|
|
| Method Summary | |
|---|---|
boolean |
caseSensitive()
Returns if the pattern should match case sensitive or not. |
void |
caseSensitive(boolean b)
Sets if the pattern should match case sensitive or not. |
String |
columnName()
Returns the name of the column that should be processed. |
void |
columnName(String colName)
Sets the name of the column that should be processed. |
boolean |
createNewColumn()
Returns if a new column should be created instead of overriding the values in the target column. |
void |
createNewColumn(boolean b)
Sets if a new column should be created instead of overriding the values in the target column. |
void |
loadSettings(NodeSettingsRO settings)
Loads the settings from the node settings object. |
void |
loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from the node settings object. |
String |
newColumnName()
Returns the name of the new column. |
void |
newColumnName(String colName)
Sets the name of the new column. |
String |
pattern()
Returns the pattern. |
void |
pattern(String pattern)
Sets the pattern. |
boolean |
replaceAllOccurrences()
Returns if the whole string or all occurrences of the pattern should be replaced. |
void |
replaceAllOccurrences(boolean b)
Sets if the whole string or all occurrences of the pattern should be replaced. |
String |
replacement()
Returns the replacement text. |
void |
replacement(String replacement)
Sets the replacement text. |
void |
saveSettings(NodeSettingsWO settings)
Save the settings into the node settings object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringReplacerSettings()
| Method Detail |
|---|
public boolean caseSensitive()
true if the matches should be case sensitive,
false otherwisepublic void caseSensitive(boolean b)
b - true if the matches should be case sensitive,
false otherwisepublic String columnName()
public void columnName(String colName)
colName - the column's namepublic boolean createNewColumn()
true if a new column should be created,
false otherwisenewColumnName()public void createNewColumn(boolean b)
b - true if a new column should be created,
false otherwisenewColumnName(String)
public void loadSettings(NodeSettingsRO settings)
throws InvalidSettingsException
settings - node settings
InvalidSettingsException - if settings are missingpublic void loadSettingsForDialog(NodeSettingsRO settings)
settings - node settingspublic String newColumnName()
createNewColumn()public void newColumnName(String colName)
colName - the new column's namecreateNewColumn(boolean)public String pattern()
public void pattern(String pattern)
pattern - the patternpublic boolean replaceAllOccurrences()
true if all occurrences should be replaced,
false if the whole string should be replacedpublic void replaceAllOccurrences(boolean b)
b - true if all occurrences should be replaced,
false if the whole string should be replacedpublic String replacement()
public void replacement(String replacement)
replacement - the replacement textpublic void saveSettings(NodeSettingsWO settings)
settings - node settings
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||