Package picard.util

Class TabbedInputParser

java.lang.Object
htsjdk.samtools.util.AbstractIterator<String[]>
All Implemented Interfaces:
htsjdk.samtools.util.CloseableIterator<String[]>, Closeable, AutoCloseable, Iterable<String[]>, Iterator<String[]>

public class TabbedInputParser extends BasicInputParser
Parser for tab-delimited files
  • Constructor Details

    • TabbedInputParser

      public TabbedInputParser(boolean treatGroupedDelimitersAsOne, InputStream... stream)
      Constructor
      Parameters:
      stream - The input stream(s) to parse
    • TabbedInputParser

      public TabbedInputParser(boolean treatGroupedDelimitersAsOne, File... file)
      Constructor
      Parameters:
      file - The file(s) to parse
  • Method Details

    • isDelimiter

      protected boolean isDelimiter(byte b)
      Determines whether a given character is a delimiter
      Overrides:
      isDelimiter in class AbstractInputParser
      Parameters:
      b - the character to evaluate
      Returns:
      true if b is a delimiter; otherwise false