// EXEC: cjc %import-path %L %l %f
// EXEC: ./main
import std.collection.*
import csv4cj.*
main() {
let x: Rune = r'|'
let f: CSVParseFormat = CSVParseFormat.DEFAULT.setEscapeCharacter(x)
println("${f.getEscapeCharacter()}")
let h: Array<String> = ["hello"]
f.setHeader(h)
println("${f.getHeader().toString()}")
f.setIgnoreEmptyLines(true)
println("${f.getIgnoreEmptyLines()}")
f.setIgnoreSurroundingSpaces(true)
println("${f.getIgnoreSurroundingSpaces()}")
let c: Rune = r'"'
f.setQuoteCharacter(c)
println("${f.getQuoteCharacter().toString()}")
f.setTrailingDelimiter(true)
println("${f.getTrailingDelimiter()}")
let c1: Rune = r'#'
f.setCommentMarker(c1)
println("${f.getCommentMarker().toString()}")
f.setDelimiter("---")
println("${f.getDelimiterString()}")
return 0
}