Package org.nuxeo.ecm.csv.core
Class CSVImporterOptions
java.lang.Object
org.nuxeo.ecm.csv.core.CSVImporterOptions
- All Implemented Interfaces:
Serializable
- Since:
- 5.7
- Author:
- Thomas Roger
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprotected final int
protected final boolean
protected final Character
protected final long
protected final CSVImporterDocumentFactory
protected final DateFormat
static final CSVImporterOptions
protected final Character
protected CSVImporterOptions.ImportMode
static final String
static final String
protected final String
protected final boolean
protected final boolean
-
Constructor Summary
ModifierConstructorDescriptionprotected
CSVImporterOptions
(CSVImporterDocumentFactory CSVImporterDocumentFactory, String dateFormat, String listSeparatorRegex, boolean updateExisting, boolean checkAllowedSubTypes, boolean sendEmail, int batchSize, CSVImporterOptions.ImportMode importMode) Deprecated.since 11.5, use builder insteadprotected
CSVImporterOptions
(CSVImporterDocumentFactory CSVImporterDocumentFactory, String dateFormat, String listSeparatorRegex, Character escapeCharacter, boolean updateExisting, boolean checkAllowedSubTypes, boolean sendEmail, int batchSize, CSVImporterOptions.ImportMode importMode) Deprecated.since 11.5, use builder insteadprotected
CSVImporterOptions
(CSVImporterDocumentFactory CSVImporterDocumentFactory, String dateFormat, String listSeparatorRegex, Character commentMarker, Character escapeCharacter, boolean updateExisting, boolean checkAllowedSubTypes, boolean sendEmail, int batchSize, CSVImporterOptions.ImportMode importMode, long computeTotalThresholdSize) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected DateFormat
computeDateFormat
(String dateFormat) int
long
boolean
boolean
-
Field Details
-
LEGACY_DATE_FORMAT_PROP
- See Also:
-
LEGACY_DATE_FORMAT
- See Also:
-
DEFAULT_OPTIONS
-
importMode
-
CSVImporterDocumentFactory
-
dateFormat
-
listSeparatorRegex
-
commentMarker
-
escapeCharacter
-
updateExisting
protected final boolean updateExisting -
checkAllowedSubTypes
protected final boolean checkAllowedSubTypes -
sendEmail
protected final boolean sendEmail -
batchSize
protected final int batchSize -
computeTotalThresholdSize
protected final long computeTotalThresholdSize
-
-
Constructor Details
-
CSVImporterOptions
protected CSVImporterOptions(CSVImporterDocumentFactory CSVImporterDocumentFactory, String dateFormat, String listSeparatorRegex, boolean updateExisting, boolean checkAllowedSubTypes, boolean sendEmail, int batchSize, CSVImporterOptions.ImportMode importMode) Deprecated.since 11.5, use builder instead -
CSVImporterOptions
protected CSVImporterOptions(CSVImporterDocumentFactory CSVImporterDocumentFactory, String dateFormat, String listSeparatorRegex, Character escapeCharacter, boolean updateExisting, boolean checkAllowedSubTypes, boolean sendEmail, int batchSize, CSVImporterOptions.ImportMode importMode) Deprecated.since 11.5, use builder instead- Since:
- 7.2
-
CSVImporterOptions
protected CSVImporterOptions(CSVImporterDocumentFactory CSVImporterDocumentFactory, String dateFormat, String listSeparatorRegex, Character commentMarker, Character escapeCharacter, boolean updateExisting, boolean checkAllowedSubTypes, boolean sendEmail, int batchSize, CSVImporterOptions.ImportMode importMode, long computeTotalThresholdSize) - Since:
- 8.3
-
-
Method Details
-
computeDateFormat
-
getCSVImporterDocumentFactory
-
getDateFormat
-
getListSeparatorRegex
-
getCommentMarker
-
getEscapeCharacter
-
updateExisting
public boolean updateExisting() -
checkAllowedSubTypes
public boolean checkAllowedSubTypes() -
sendEmail
public boolean sendEmail() -
getBatchSize
public int getBatchSize() -
getComputeTotalThresholdSize
public long getComputeTotalThresholdSize()- Since:
- 11.5
-
getImportMode
-