Package picard.util
Class CsvInputParser
java.lang.Object
htsjdk.samtools.util.AbstractIterator<String[]>
picard.util.AbstractInputParser
picard.util.BasicInputParser
picard.util.CsvInputParser
- All Implemented Interfaces:
htsjdk.samtools.util.CloseableIterator<String[]>
,Closeable
,AutoCloseable
,Iterable<String[]>
,Iterator<String[]>
-
Field Summary
Fields inherited from class htsjdk.samtools.util.AbstractIterator
next
-
Constructor Summary
ConstructorsConstructorDescriptionCsvInputParser
(boolean treatGroupedDelimitersAsOne, File... file) ConstructorCsvInputParser
(boolean treatGroupedDelimitersAsOne, InputStream... stream) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isDelimiter
(byte b) Determines whether a given character is a delimiterMethods inherited from class picard.util.BasicInputParser
advanceFile, close, getCurrentLine, getCurrentLineNumber, getFileName, readNextLine
Methods inherited from class picard.util.AbstractInputParser
advance, calculateWordCount, getWordCount, isBlank, isComment, isSkipBlankLines, isTreatGroupedDelimitersAsOne, iterator, setSkipBlankLines, setTreatGroupedDelimitersAsOne, setWordCount
Methods inherited from class htsjdk.samtools.util.AbstractIterator
hasNext, isIterating, next, peek, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface htsjdk.samtools.util.CloseableIterator
stream, toList
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Constructor Details
-
CsvInputParser
Constructor- Parameters:
stream
- The input stream(s) to parse
-
CsvInputParser
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 classAbstractInputParser
- Parameters:
b
- the character to evaluate- Returns:
- true if
b
is a delimiter; otherwise false
-