|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.preproc.cellsplit.CellSplitterUserSettings
public class CellSplitterUserSettings
Holds all user settings needed for the cell splitter. Provides methods for saving and a constructor taking a NodeSettingRO object.
| Constructor Summary | |
|---|---|
CellSplitterUserSettings()
Creates a new settings object with no (or default) settings. |
|
CellSplitterUserSettings(NodeSettingsRO settings)
Creates a new settings object with the value from the specified settings object. |
|
| Method Summary | |
|---|---|
(package private) String |
getColumnName()
|
(package private) String |
getDelimiter()
|
(package private) int |
getNumOfCols()
|
(package private) String |
getQuotePattern()
|
(package private) String |
getStatus(DataTableSpec spec)
|
(package private) boolean |
isGuessNumOfCols()
|
(package private) boolean |
isRemoveQuotes()
|
(package private) boolean |
isUseEmptyString()
|
(package private) void |
saveSettingsTo(NodeSettingsWO settings)
Stores the settings values in the specified object. |
(package private) void |
setColumnName(String columnName)
|
(package private) void |
setDelimiter(String delimiter)
|
(package private) void |
setGuessNumOfCols(boolean guessNumOfCols)
|
(package private) void |
setNumOfCols(int numOfCols)
|
(package private) void |
setQuotePattern(String quotePattern)
|
(package private) void |
setRemoveQuotes(boolean removeQuotes)
|
(package private) void |
setUseEmptyString(boolean useEmptyString)
If set to true, the node creates an empty cell in case of a missing input cell or a missing split. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
CellSplitterUserSettings()
CellSplitterUserSettings(NodeSettingsRO settings)
throws InvalidSettingsException
settings - the config object to read the settings values from
InvalidSettingsException - if the values in the settings object are
incomplete.| Method Detail |
|---|
void saveSettingsTo(NodeSettingsWO settings)
settings - the config object to save the values inString getStatus(DataTableSpec spec)
spec - the spec to check the settings against. Can be null.
String getColumnName()
void setColumnName(String columnName)
columnName - the columnName to setString getDelimiter()
void setDelimiter(String delimiter)
delimiter - the delimiter to setboolean isGuessNumOfCols()
void setGuessNumOfCols(boolean guessNumOfCols)
guessNumOfCols - the guessNumOfCols to setint getNumOfCols()
void setNumOfCols(int numOfCols)
numOfCols - the numOfCols to setString getQuotePattern()
void setQuotePattern(String quotePattern)
quotePattern - the quotePattern to setboolean isRemoveQuotes()
void setRemoveQuotes(boolean removeQuotes)
removeQuotes - the removeQuotes to setboolean isUseEmptyString()
void setUseEmptyString(boolean useEmptyString)
useEmptyString - set to true to create empty string cells instead of
missing cells.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||