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