This commit is contained in:
Looly
2022-06-16 12:30:21 +08:00
parent 4203b6532b
commit 64e11c9de8
2 changed files with 4 additions and 0 deletions

View File

@@ -42,6 +42,9 @@ public class CsvData implements Iterable<CsvRow>, Serializable {
* @return the header row - might be {@code null} if no header exists
*/
public List<String> getHeader() {
if(null == this.header){
return null;
}
return Collections.unmodifiableList(this.header);
}