edu.mssm.crover.tools.blast
Class XMLBlastHSIterator
java.lang.Object
|
+--edu.mssm.crover.tools.blast.XMLBlastHSIterator
- All Implemented Interfaces:
- edu.mssm.crover.tools.blast.HitSummaryIterator
- public class XMLBlastHSIterator
- extends java.lang.Object
- implements edu.mssm.crover.tools.blast.HitSummaryIterator
Iterates through an XML BLAST output file, returns HitSummaries.
|
Method Summary |
boolean |
hasNext()
Returns true if the iteration has more HitSummaries. |
HitSummary |
next()
Returns the next HitSummary in the interation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLBlastHSIterator
public XMLBlastHSIterator(java.io.File multipleFile)
throws java.io.FileNotFoundException,
WrongFileFormatException
XMLBlastHSIterator
public XMLBlastHSIterator(java.io.Reader r)
throws WrongFileFormatException
hasNext
public boolean hasNext()
throws java.io.IOException
- Returns true if the iteration has more HitSummaries.
- Specified by:
hasNext in interface edu.mssm.crover.tools.blast.HitSummaryIterator
java.io.IOException
next
public HitSummary next()
throws CommandNotInstalled,
WrongFileFormatException,
java.io.IOException
- Returns the next HitSummary in the interation.
- Specified by:
next in interface edu.mssm.crover.tools.blast.HitSummaryIterator
CommandNotInstalled
WrongFileFormatException
java.io.IOException
Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.