Class UniprotTaxonomyFetcher
- java.lang.Object
-
- psidev.psi.mi.jami.bridges.uniprot.taxonomy.UniprotTaxonomyFetcher
-
- All Implemented Interfaces:
OrganismFetcher
public class UniprotTaxonomyFetcher extends Object implements OrganismFetcher
Created with IntelliJ IDEA.- Since:
- 28/06/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description UniprotTaxonomyFetcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganismfetchByTaxID(int taxID)Finds the complete organism record matching the provided TaxID number.Collection<Organism>fetchByTaxIDs(Collection<Integer> taxIDs)Finds the complete organism records matching the provided TaxID numbers.
-
-
-
Method Detail
-
fetchByTaxID
public Organism fetchByTaxID(int taxID) throws BridgeFailedException
Finds the complete organism record matching the provided TaxID number.- Specified by:
fetchByTaxIDin interfaceOrganismFetcher- Parameters:
taxID- The taxID to search for- Returns:
- A matching organism, or null if one could not be found.
- Throws:
BridgeFailedException- if any.
-
fetchByTaxIDs
public Collection<Organism> fetchByTaxIDs(Collection<Integer> taxIDs) throws BridgeFailedException
Finds the complete organism records matching the provided TaxID numbers.- Specified by:
fetchByTaxIDsin interfaceOrganismFetcher- Parameters:
taxIDs- A collection of taxIDs to search for.- Returns:
- A collection of the matching organisms.
- Throws:
BridgeFailedException- if any.
-
-