| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cloneImportRow
Flag to clone the import row while iterating on it.
|
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 |
isCloneImportRow() |
boolean |
isIgnoreUnknownHeader() |
boolean |
isSafetySwitch() |
boolean |
isStrictMode() |
void |
setCloneImportRow(boolean cloneImportRow) |
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
By default, not used (strict mode).
protected boolean cloneImportRow
public boolean isSafetySwitch()
public void setSafetySwitch(boolean safetySwitch)
public boolean isStrictMode()
public void setStrictMode(boolean strictMode)
public boolean isIgnoreUnknownHeader()
public void setIgnoreUnknownHeader(boolean ignoreUnknownHeader)
public boolean isCloneImportRow()
public void setCloneImportRow(boolean cloneImportRow)
Copyright © 2013–2016 CodeLutin. All rights reserved.