Class Limits
java.lang.Object
de.siegmar.fastcsv.util.Limits
Deprecated, for removal: This API element is subject to removal in a future version.
This class is deprecated and will be removed in a future release.
See individual constants for alternatives.
The
Limits class defines the maximum limits for various fields and records in a CSV file.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated, for removal: This API element is subject to removal in a future version.TheMAX_FIELD_COUNTconstant defines the maximum number of fields per record.static final intDeprecated, for removal: This API element is subject to removal in a future version.TheMAX_FIELD_SIZEconstant defines the maximum size for a single field in a CSV file.static final intDeprecated, for removal: This API element is subject to removal in a future version.TheMAX_RECORD_SIZEconstant defines the maximum size for all fields combined in a CSV record. -
Method Summary
-
Field Details
-
MAX_FIELD_SIZE
public static final int MAX_FIELD_SIZEDeprecated, for removal: This API element is subject to removal in a future version.The
MAX_FIELD_SIZEconstant defines the maximum size for a single field in a CSV file. The value is set to 16,777,216 characters (16 to 64 MiB depending on the circumstance of multibyte character utilization).The default value can be overridden by setting the system property
fastcsv.max.field.size(e.g., using-Dfastcsv.max.field.size=8388608). -
MAX_FIELD_COUNT
public static final int MAX_FIELD_COUNTDeprecated, for removal: This API element is subject to removal in a future version.The
MAX_FIELD_COUNTconstant defines the maximum number of fields per record. The value is set to 16,384.The default value can be overridden by setting the system property
fastcsv.max.field.count(e.g., using-Dfastcsv.max.field.count=8192). -
MAX_RECORD_SIZE
public static final int MAX_RECORD_SIZEDeprecated, for removal: This API element is subject to removal in a future version.TheMAX_RECORD_SIZEconstant defines the maximum size for all fields combined in a CSV record. The value is set to four times ofMAX_FIELD_SIZE.
-