| Modifier and Type | Field and Description |
|---|---|
protected boolean |
captureRawRecord
Flag to ask for raw record in result.
|
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 |
isCaptureRawRecord() |
boolean |
isCloneImportRow() |
boolean |
isIgnoreUnknownHeader() |
boolean |
isSafetySwitch() |
boolean |
isStrictMode() |
void |
setCaptureRawRecord(boolean captureRawRecord) |
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
protected boolean captureRawRecord
By default, raw record are not included.
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)
public boolean isCaptureRawRecord()
public void setCaptureRawRecord(boolean captureRawRecord)
Copyright © 2013–2022 Code Lutin. All rights reserved.