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

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

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

@Deprecated
public class Quote
extends Object


Constructor Summary
Quote(NodeSettingsRO settings)
          Deprecated. Creates a new Quote object and sets its parameters from the config object.
Quote(String left, String right)
          Deprecated. Creates a new Quote object, without escape character, quotes being removed from the token.
Quote(String left, String right, boolean dontRemove)
          Deprecated. Creates a new Quote object, without escape character, quotes being removed from the token.
Quote(String left, String right, char escape)
          Deprecated. Creates a new Quote object.
Quote(String left, String right, char escape, boolean dontRemove)
          Deprecated. Creates a new Quote object.
 
Method Summary
 boolean equals(Object obj)
          Deprecated. 
 boolean getDontRemoveFlag()
          Deprecated.  
 char getEscape()
          Deprecated.  
 char getFirstCharOfLeft()
          Deprecated.  
 String getLeft()
          Deprecated.  
 String getRight()
          Deprecated.  
 boolean hasEscapeChar()
          Deprecated.  
 int hashCode()
          Deprecated. 
(package private)  void saveToConfig(NodeSettingsWO cfg)
          Deprecated. Writes the object into a NodeSettings object.
 String toString()
          Deprecated. Returns "[left]...[right], '[esc]'", with ", [esc]" only printed when an escape char is defined.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Quote

public Quote(String left,
             String right,
             char escape,
             boolean dontRemove)
Deprecated. 
Creates a new Quote object. Only constructed by the FileTokenizerSettings class.

Parameters:
left - the left quote pattern
right - the right quote pattern
escape - the escape character for these quotes.
dontRemove - if set true the quote patterns will not be removed from, but returned in the token.
See Also:
FileTokenizerSettings

Quote

public Quote(String left,
             String right,
             char escape)
Deprecated. 
Creates a new Quote object. The quotes will be removed from the token. Only constructed by the FileTokenizerSettings class.

Parameters:
left - the left quote pattern
right - the right quote pattern
escape - the escape character for these quotes.
See Also:
FileTokenizerSettings

Quote

public Quote(String left,
             String right,
             boolean dontRemove)
Deprecated. 
Creates a new Quote object, without escape character, quotes being removed from the token.

Parameters:
left - The left quote pattern.
right - The right quote pattern.
dontRemove - if set true quote patterns don't get removed but be returned in the token.

Quote

public Quote(String left,
             String right)
Deprecated. 
Creates a new Quote object, without escape character, quotes being removed from the token.

Parameters:
left - The left quote pattern.
right - The right quote pattern.

Quote

Quote(NodeSettingsRO settings)
throws InvalidSettingsException
Deprecated. 
Creates a new Quote 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 IllegalArgument exception

Parameters:
settings - an object the parameters are read from.
Throws:
InvalidSettingsException - when the config stinks.
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.

getLeft

public String getLeft()
Deprecated. 
Returns:
The left quote pattern.

getRight

public String getRight()
Deprecated. 
Returns:
The right quote pattern.

hasEscapeChar

public boolean hasEscapeChar()
Deprecated. 
Returns:
true if an escape character is defined for this quote pair.

getEscape

public char getEscape()
Deprecated. 
Returns:
If an escape character is defined it will return it, otherwise the return value is undefined.

getDontRemoveFlag

public boolean getDontRemoveFlag()
Deprecated. 
Returns:
true if the quote patterns will remain in the token, false, if they get removed and discarded when read.

getFirstCharOfLeft

public char getFirstCharOfLeft()
Deprecated. 
Returns:
The first character of the left quote pattern.

toString

public String toString()
Deprecated. 
Returns "[left]...[right], '[esc]'", with ", [esc]" only printed when an escape char is defined.

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.