CSVFormat format = aformat.withHeader();or specified manually with:
CSVFormat format = aformat.withHeader("name", "email", "phone");@param header the header, {@code null} if disabled, empty if parsed automatically, user specified otherwise. @return A new CSVFormat that is equal to this but with the specified header @see #withSkipHeaderRecord(boolean)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|