Package org.apache.commons.csv
Enum CSVFormat.Predefined
- All Implemented Interfaces:
Serializable
,Comparable<CSVFormat.Predefined>
- Enclosing class:
- CSVFormat
Predefines formats.
- Since:
- 1.2
-
Enum Constant Summary
Enum ConstantDescriptionThe DEFAULT predefined format.The EXCEL predefined format.The INFORMIX_UNLOAD predefined format.The INFORMIX_UNLOAD_CSV predefined format.The MONGODB_CSV predefined format.The MONGODB_TSV predefined format.The MYSQL predefined format.The ORACLE predefined format.The POSTGRESQL_CSV predefined format.The POSTGRESQL_TEXT predefined format.The RFC4180 predefined format.The TDF predefined format. -
Method Summary
Modifier and TypeMethodDescriptionGets the format.static CSVFormat.Predefined
Returns the enum constant of this type with the specified name.static CSVFormat.Predefined[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Default
The DEFAULT predefined format.- See Also:
-
Excel
The EXCEL predefined format.- See Also:
-
InformixUnload
The INFORMIX_UNLOAD predefined format.- Since:
- 1.3
- See Also:
-
InformixUnloadCsv
The INFORMIX_UNLOAD_CSV predefined format.- Since:
- 1.3
- See Also:
-
MongoDBCsv
The MONGODB_CSV predefined format.- Since:
- 1.7
- See Also:
-
MongoDBTsv
The MONGODB_TSV predefined format.- Since:
- 1.7
- See Also:
-
MySQL
The MYSQL predefined format.- See Also:
-
Oracle
The ORACLE predefined format.- See Also:
-
PostgreSQLCsv
The POSTGRESQL_CSV predefined format.- Since:
- 1.5
- See Also:
-
PostgreSQLText
The POSTGRESQL_TEXT predefined format.- See Also:
-
RFC4180
The RFC4180 predefined format.- See Also:
-
TDF
The TDF predefined format.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFormat
Gets the format.- Returns:
- the format.
-