|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface used to inform interested parties that some sequence has been searched and something found.
The callbacks will always be called in the order startSearch, hit, endSearch, during which time there may be multiple hit calls. The seqID of startSearch and endSearch will match. After this, a new startSearch may begin. These events will usually originate from the search method of DataStore.
Method Summary | |
void |
endSearch(java.lang.String seqID)
Indicates that a sequence has been searched against a DataStore. |
void |
hit(int hitID,
int queryOffset,
int hitOffset,
int hitLength)
There has been a hit between the query sequence and a database sequence. |
void |
startSearch(java.lang.String seqID)
Indicates that a sequence is about to be searched against a DataStore. |
Method Detail |
public void startSearch(java.lang.String seqID)
seqID
- the id of the sequence to be searchedpublic void endSearch(java.lang.String seqID)
seqID
- the id of the sequence to be searchedpublic void hit(int hitID, int queryOffset, int hitOffset, int hitLength)
hitID
- the number of the sequence hit; resolvable by
String id = DataStore.seqNameForID(hitID)queryOffset
- the offset into the query sequencehitOffset
- the offset into the sequence hit in the databasehitLength
- the number of symbols hit
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |