|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.util.tokenizer.Delimiter
public class Delimiter
Created for each delimiter for the FileTokenizer keeping its
specifics.
| Constructor Summary | |
|---|---|
Delimiter(NodeSettingsRO settings)
Creates a new Delimiter object and sets its parameters
from the config object. |
|
Delimiter(String pattern,
boolean combineConsecutive,
boolean returnAsSeparateToken,
boolean includeInToken)
Creates a new delimiter object. |
|
| Method Summary | |
|---|---|
boolean |
combineConsecutiveDelims()
|
boolean |
equals(Object obj)
|
String |
getDelimiter()
|
char |
getFirstChar()
|
int |
hashCode()
|
boolean |
includeInToken()
|
boolean |
returnAsToken()
|
(package private) void |
saveToConfig(NodeSettingsWO cfg)
Writes the object into a NodeSettings object. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Delimiter(String pattern,
boolean combineConsecutive,
boolean returnAsSeparateToken,
boolean includeInToken)
FileTokenizerSettings class.
pattern - the delimiter pattercombineConsecutive - boolean flagreturnAsSeparateToken - boolean flagincludeInToken - boolean flagTokenizerSettings
Delimiter(NodeSettingsRO settings)
throws InvalidSettingsException
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
settings - an object the parameters are read from.
InvalidSettingsException - if the config is invalid. Right?| Method Detail |
|---|
void saveToConfig(NodeSettingsWO cfg)
NodeSettings object. If this
config object is then used to construct a new Delimiter
this and the new object should be identical.
cfg - a config object the internal values of this object will be
stored into.public String getDelimiter()
public boolean combineConsecutiveDelims()
true if consecutive appearances of this delimiter
should be combined.public boolean returnAsToken()
true if this delimiter should be returned as
separate token.public boolean includeInToken()
true if this delimiter should be included in the
prev. token.public char getFirstChar()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||