Constants -
io
- DEFAULT string default
-
Would default to the format specified by CSVChannel. Precedence will be given to field separator and record separator.
- CSV string csv
-
Field separator would be "," and the record separator would be new line.
- TDF string tdf
-
Field separator will be tab and record separator will be 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 record separator of the CSV file.
- FS_COLON string :
-
Represents colon separator which should be used to identify colon separated files.
- MINIMUM_HEADER_COUNT int 0
-
Represents minimum number of headers which will be included in 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.