public class PosFileReader extends AbstractIlluminaPositionFileReader
AbstractIlluminaPositionFileReader.PositionInfo
MAX_POS, MIN_POS
Constructor and Description |
---|
PosFileReader(File posFile) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext()
Return true if the file has more elements to return, false otherwise
|
protected String |
makeExceptionMsg()
Create a string that will be included in any NoSuchElementException thrown by the next() method
|
protected AbstractIlluminaPositionFileReader.PositionInfo |
unsafeNextInfo()
Read a line of text and parse it into two float values, create a PositionInfo and return it
|
public PosFileReader(File posFile)
protected AbstractIlluminaPositionFileReader.PositionInfo unsafeNextInfo()
unsafeNextInfo
in class AbstractIlluminaPositionFileReader
protected String makeExceptionMsg()
AbstractIlluminaPositionFileReader
makeExceptionMsg
in class AbstractIlluminaPositionFileReader
public boolean hasNext()
AbstractIlluminaPositionFileReader
hasNext
in interface Iterator<AbstractIlluminaPositionFileReader.PositionInfo>
hasNext
in class AbstractIlluminaPositionFileReader
public void close()