Constants -
io
- DEFAULT string default
-
Default value is the format specified by the CSVChannel. Precedence will be given to the field separator and record separator.
- CSV string csv
-
Field separator will be "," and the record separator will be a new line.
- TDF string tdf
-
Field separator will be a tab and the record separator will be a new line.
- COMMA string ,
-
Comma (,) will be used as the field separator.
- TAB string
-
Tab (/t) will be use as the field separator.
- COLON string :
-
Colon (:) will be use as the field separator.
- CONNECTION_TIMED_OUT string {ballerina/io}ConnectionTimedOut
-
This will be used to construct a ConnectionTimedOutError.
- GENERIC_ERROR string {ballerina/io}GenericError
-
This will be used to construct an IO GenericError.
- ACCESS_DENIED_ERROR string {ballerina/io}AccessDeniedError
-
This will be used to construct a AccessDeniedError.
- FILE_NOT_FOUND_ERROR string {ballerina/io}FileNotFoundError
-
This will be used to construct a FileNotFoundError.
- END_OF_FILE_ERROR string {ballerina/io}EoF
-
This will be used to construct an EofError.
- CSV_RECORD_SEPARATOR string
-
Represents the record separator of the CSV file.
- FS_COLON string :
-
Represents the colon separator, which should be used to identify colon-separated files.
- MINIMUM_HEADER_COUNT int 0
-
Represents the minimum number of headers, which will be included in the CSV.
- BIG_ENDIAN string BE
-
Specifies the bytes to be in the order of most significant byte first.
- LITTLE_ENDIAN string LE
-
Specifies the byte order to be the least significant byte first.