org.knime.base.node.preproc.columnrenameregex
Class ColumnRenameRegexConfiguration

java.lang.Object
  extended by org.knime.base.node.preproc.columnrenameregex.ColumnRenameRegexConfiguration

final class ColumnRenameRegexConfiguration
extends Object

Settings proxy for the node.

Author:
Bernd Wiswedel, KNIME.com, Zurich, Switzerland

Constructor Summary
ColumnRenameRegexConfiguration()
           
 
Method Summary
(package private)  String getReplaceString()
           
(package private)  String getSearchString()
           
(package private)  boolean isCaseInsensitive()
           
(package private)  boolean isLiteral()
           
(package private)  void loadSettingsInDialog(NodeSettingsRO settings)
          Load config in dialog.
(package private)  void loadSettingsInModel(NodeSettingsRO settings)
          Load config in model.
(package private)  void saveConfiguration(NodeSettingsWO settings)
          Save config to argument.
(package private)  void setCaseInsensitive(boolean isCaseInsensitive)
           
(package private)  void setLiteral(boolean isLiteral)
           
(package private)  void setReplaceString(String replaceString)
           
(package private)  void setSearchString(String searchString)
           
(package private)  Pattern toSearchPattern()
          Creates a pattern from the current settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnRenameRegexConfiguration

ColumnRenameRegexConfiguration()
Method Detail

getSearchString

String getSearchString()
Returns:
the searchString

setSearchString

void setSearchString(String searchString)
Parameters:
searchString - the searchString to set

getReplaceString

String getReplaceString()
Returns:
the replaceString

setReplaceString

void setReplaceString(String replaceString)
Parameters:
replaceString - the replaceString to set

isCaseInsensitive

boolean isCaseInsensitive()
Returns:
the isCaseInsensitive

setCaseInsensitive

void setCaseInsensitive(boolean isCaseInsensitive)
Parameters:
isCaseInsensitive - the isCaseInsensitive to set

isLiteral

boolean isLiteral()
Returns:
the isLiteral

setLiteral

void setLiteral(boolean isLiteral)
Parameters:
isLiteral - the isLiteral to set

saveConfiguration

void saveConfiguration(NodeSettingsWO settings)
Save config to argument.

Parameters:
settings - To save to.

loadSettingsInModel

void loadSettingsInModel(NodeSettingsRO settings)
                   throws InvalidSettingsException
Load config in model.

Parameters:
settings - To load from.
Throws:
InvalidSettingsException - If that fails.

loadSettingsInDialog

void loadSettingsInDialog(NodeSettingsRO settings)
Load config in dialog. return Pattern.compile(

Parameters:
settings - To load from.

toSearchPattern

Pattern toSearchPattern()
                  throws InvalidSettingsException
Creates a pattern from the current settings.

Returns:
A new pattern.
Throws:
InvalidSettingsException - If that fails due to a PatternSyntaxException.


Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.