| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ignoreUnknownHeader
Flag to ignore header found in a import file and not declared in the
import model.
|
protected boolean |
safetySwitch
Flag to turn or not the safetySwitch (see
CsvReader.getSafetySwitch()). |
protected boolean |
strictMode
Flag to use a strict mode (says import will failed at the first error),
if setted to
false, then errors for each rows will be stored in
the current row and import will continue to the end. |
| Constructor and Description |
|---|
ImportConf() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIgnoreUnknownHeader() |
boolean |
isSafetySwitch() |
boolean |
isStrictMode() |
void |
setIgnoreUnknownHeader(boolean ignoreUnknownHeader) |
void |
setSafetySwitch(boolean safetySwitch) |
void |
setStrictMode(boolean strictMode) |
protected boolean safetySwitch
CsvReader.getSafetySwitch()).
By default, not used.protected boolean strictMode
false, then errors for each rows will be stored in
the current row and import will continue to the end.
By default, used (strict mode).protected boolean ignoreUnknownHeader
public boolean isSafetySwitch()
public void setSafetySwitch(boolean safetySwitch)
public boolean isStrictMode()
public void setStrictMode(boolean strictMode)
public boolean isIgnoreUnknownHeader()
public void setIgnoreUnknownHeader(boolean ignoreUnknownHeader)
Copyright © 2011-2012 CodeLutin. All Rights Reserved.