public class ConnectionManager extends Object
Constructor and Description |
---|
ConnectionManager() |
Modifier and Type | Method and Description |
---|---|
static HttpURLConnection |
getQueryConnection(String query,
QueryType queryType)
Returns the query connection.
|
static String |
getUniprotHost()
Returns the UniProt web site host name.
|
public static String getUniprotHost()
public static HttpURLConnection getQueryConnection(String query, QueryType queryType) throws IOException, URISyntaxException
query
- the query term you wish to search forqueryType
- the type of query (taxonomy or FASTA)IOException
- if an IOException is thrownURISyntaxException
- if an URISyntaxException is thrownCopyright © 2016. All rights reserved.