Package picard.util

Class CsvInputParser

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

public class CsvInputParser extends BasicInputParser
  • Constructor Details

    • CsvInputParser

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

      public CsvInputParser(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