Package tethys.species
Class ITISFunctions
java.lang.Object
tethys.species.ITISFunctions
Functions associated with pulling ITIS information from the databsae.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetITISInformation
(int itisCode) searchNames
(String searchTerm) Search common and latin names for partial matched of the search term and return an array list of all possible matches.searchSpecies
(String searchTerm) Search species codes.
-
Constructor Details
-
ITISFunctions
-
-
Method Details
-
getITISInformation
-
searchSpecies
Search species codes. If the search term is a valid Integer number then it's assumed to be an ITIS code and the function should return a single map item. If it's non-integer, it's assumed to be a common or latin name search- Parameters:
searchTerm
-- Returns:
- array list of possible matches.
-
searchNames
Search common and latin names for partial matched of the search term and return an array list of all possible matches.- Parameters:
searchTerm
-- Returns:
-