org.knime.base.node.io.filetokenizer
Class Delimiter

java.lang.Object
  extended by org.knime.base.node.io.filetokenizer.Delimiter

Deprecated. use Delimiter instead. Will be removed in Ver3.0.

@Deprecated
public class Delimiter
extends Object


Constructor Summary
Delimiter(NodeSettingsRO settings)
          Deprecated. Creates a new Delimiter object and sets its parameters from the config object.
Delimiter(String pattern, boolean combineConsecutive, boolean returnAsSeparateToken, boolean includeInToken)
          Deprecated. Creates a new delimiter object.
 
Method Summary
 boolean combineConsecutiveDelims()
          Deprecated.  
 boolean equals(Object obj)
          Deprecated. 
 String getDelimiter()
          Deprecated.  
 char getFirstChar()
          Deprecated.  
 int hashCode()
          Deprecated. 
 boolean includeInToken()
          Deprecated.  
 boolean returnAsToken()
          Deprecated.  
(package private)  void saveToConfig(NodeSettingsWO cfg)
          Deprecated. Writes the object into a NodeSettings object.
 String toString()
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Delimiter

public Delimiter(String pattern,
                 boolean combineConsecutive,
                 boolean returnAsSeparateToken,
                 boolean includeInToken)
Deprecated. 
Creates a new delimiter object. Only constructed by the FileTokenizerSettings class.

Parameters:
pattern - the delimiter patter
combineConsecutive - boolean flag
returnAsSeparateToken - boolean flag
includeInToken - boolean flag
See Also:
FileTokenizerSettings

Delimiter

Delimiter(NodeSettingsRO settings)
    throws InvalidSettingsException
Deprecated. 
Creates a new Delimiter object and sets its parameters from the config object. If config doesn't contain all necessary parameters or contains inconsistent settings it will throw an IllegalArguments exception

Parameters:
settings - an object the parameters are read from.
Throws:
InvalidSettingsException - if the config is invalid. Right?
Method Detail

saveToConfig

void saveToConfig(NodeSettingsWO cfg)
Deprecated. 
Writes the object into a NodeSettings object. If this config object is then used to construct a new Delimiter this and the new object should be identical.

Parameters:
cfg - a config object the internal values of this object will be stored into.

getDelimiter

public String getDelimiter()
Deprecated. 
Returns:
The delimiter pattern.

combineConsecutiveDelims

public boolean combineConsecutiveDelims()
Deprecated. 
Returns:
true if consecutive appearances of this delimiter should be combined.

returnAsToken

public boolean returnAsToken()
Deprecated. 
Returns:
true if this delimiter should be returned as separate token.

includeInToken

public boolean includeInToken()
Deprecated. 
Returns:
true if this delimiter should be included in the prev. token.

getFirstChar

public char getFirstChar()
Deprecated. 
Returns:
The first character of this delimiter pattern.

toString

public String toString()
Deprecated. 

Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Deprecated. 

Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 

Overrides:
hashCode in class Object


Copyright, 2003 - 2010. 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.