Class CSVTable

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


    public class CSVTable
    extends java.lang.Object
    implements io.annot8.common.data.content.Table
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PATTERN  
    • Constructor Summary

      Constructors 
      Constructor Description
      CSVTable​(java.io.File file, boolean hasHeaders)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumnCount​()  
      java.util.Optional<java.util.List<java.lang.String>> getColumnNames​()  
      int getRowCount​()  
      java.util.stream.Stream<io.annot8.common.data.content.Row> getRows​()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.annot8.common.data.content.Table

        getRow
    • Constructor Detail

      • CSVTable

        public CSVTable​(java.io.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 java.util.Optional<java.util.List<java.lang.String>> getColumnNames​()
        Specified by:
        getColumnNames in interface io.annot8.common.data.content.Table
      • getRows

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