Class CSVTable

  • All Implemented Interfaces:
    io.annot8.common.data.content.Table

    public class CSVTable
    extends Object
    implements io.annot8.common.data.content.Table
    • Constructor Detail

      • CSVTable

        public CSVTable​(File file,
                        boolean hasHeaders)
    • Method Detail

      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface io.annot8.common.data.content.Table
      • getRowCount

        public int getRowCount()
        Specified by:
        getRowCount in interface io.annot8.common.data.content.Table
      • getColumnNames

        public Optional<List<String>> getColumnNames()
        Specified by:
        getColumnNames in interface io.annot8.common.data.content.Table
      • getRows

        public Stream<io.annot8.common.data.content.Row> getRows()
        Specified by:
        getRows in interface io.annot8.common.data.content.Table