Package picard.util

Class TabbedTextFileWithHeaderParser

    • Constructor Detail

      • TabbedTextFileWithHeaderParser

        public TabbedTextFileWithHeaderParser​(TabbedInputParser parser)
      • TabbedTextFileWithHeaderParser

        public TabbedTextFileWithHeaderParser​(File file)
      • TabbedTextFileWithHeaderParser

        public TabbedTextFileWithHeaderParser​(File file,
                                              String[] columnHeaders)
    • Method Detail

      • hasColumn

        public boolean hasColumn​(String columnLabel)
        Parameters:
        columnLabel -
        Returns:
        True if the given column label appears in the header.
      • columnLabels

        public Set<String> columnLabels()
        Returns:
        The set of column labels for this file in no particular order.
      • columnLabelsList

        public List<String> columnLabelsList()
        Returns:
        The column labels for this file as a List, in no particular order.
      • close

        public void close()
        Release all resources associated with the parser. Iteration will not work after this has been called.
        Specified by:
        close in interface AutoCloseable
      • getCurrentLineNumber

        public int getCurrentLineNumber()
      • getColumnNames

        public Set<String> getColumnNames()