public class BlastXMLParser extends java.lang.Object implements ResultFactory
| Constructor and Description |
|---|
BlastXMLParser() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Result> |
createObjects(double maxEScore)
Launch the parsing and get back a list of Result objects representing the
search result in the specified file.
|
java.util.List<java.lang.String> |
getFileExtensions()
returns a list of file extensions associated to this ResultFactory
|
void |
setDatabaseReferences(java.util.List<Sequence> sequences)
Specify the collection of sequences objects used as database in the Search run.
|
void |
setFile(java.io.File f) |
void |
setQueryReferences(java.util.List<Sequence> sequences)
Specify the collection of sequences objects used as queries in the Search run.
|
void |
storeObjects(java.util.List<Result> results)
The factory that implements this method will be able to save the Search results
to a file in the same format that it is able to read.
|
public void setFile(java.io.File f)
setFile in interface ResultFactorypublic java.util.List<Result> createObjects(double maxEScore) throws java.io.IOException, java.text.ParseException
ResultFactorycreateObjects in interface ResultFactoryjava.io.IOExceptionjava.text.ParseExceptionpublic java.util.List<java.lang.String> getFileExtensions()
ResultFactorygetFileExtensions in interface ResultFactorypublic void setQueryReferences(java.util.List<Sequence> sequences)
ResultFactorysetQueryReferences in interface ResultFactorypublic void setDatabaseReferences(java.util.List<Sequence> sequences)
ResultFactorysetDatabaseReferences in interface ResultFactorypublic void storeObjects(java.util.List<Result> results) throws java.io.IOException, java.text.ParseException
ResultFactorystoreObjects in interface ResultFactoryjava.io.IOExceptionjava.text.ParseException