Package org.nuxeo.ecm.csv.core
Class CSVImporterOptions.Builder
- java.lang.Object
-
- org.nuxeo.ecm.csv.core.CSVImporterOptions.Builder
-
- Enclosing class:
- CSVImporterOptions
public static class CSVImporterOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSVImporterOptions.Builder
batchSize(int batchSize)
CSVImporterOptions
build()
CSVImporterOptions.Builder
checkAllowedSubTypes(boolean checkAllowedSubTypes)
CSVImporterOptions.Builder
commentMarker(Character commentMarker)
CSVImporterOptions.Builder
computeTotalThresholdSize(long computeTotalThresholdSize)
CSVImporterOptions.Builder
dateFormat(String dateFormat)
CSVImporterOptions.Builder
documentModelFactory(CSVImporterDocumentFactory factory)
CSVImporterOptions.Builder
escapeCharacter(Character escapeCharacter)
CSVImporterOptions.Builder
importMode(CSVImporterOptions.ImportMode importMode)
CSVImporterOptions.Builder
listSeparatorRegex(String listSeparatorRegex)
CSVImporterOptions.Builder
sendEmail(boolean sendEmail)
CSVImporterOptions.Builder
updateExisting(boolean updateExisting)
-
-
-
Method Detail
-
documentModelFactory
public CSVImporterOptions.Builder documentModelFactory(CSVImporterDocumentFactory factory)
-
dateFormat
public CSVImporterOptions.Builder dateFormat(String dateFormat)
-
listSeparatorRegex
public CSVImporterOptions.Builder listSeparatorRegex(String listSeparatorRegex)
-
commentMarker
public CSVImporterOptions.Builder commentMarker(Character commentMarker)
-
escapeCharacter
public CSVImporterOptions.Builder escapeCharacter(Character escapeCharacter)
-
updateExisting
public CSVImporterOptions.Builder updateExisting(boolean updateExisting)
-
checkAllowedSubTypes
public CSVImporterOptions.Builder checkAllowedSubTypes(boolean checkAllowedSubTypes)
-
sendEmail
public CSVImporterOptions.Builder sendEmail(boolean sendEmail)
-
batchSize
public CSVImporterOptions.Builder batchSize(int batchSize)
-
importMode
public CSVImporterOptions.Builder importMode(CSVImporterOptions.ImportMode importMode)
-
computeTotalThresholdSize
public CSVImporterOptions.Builder computeTotalThresholdSize(long computeTotalThresholdSize)
- Since:
- 11.5
-
build
public CSVImporterOptions build()
-
-