Package ubic.gemma.core.loader.entrez
Class EutilFetch
- java.lang.Object
-
- ubic.gemma.core.loader.entrez.EutilFetch
-
public class EutilFetch extends Object
- Author:
- paul
-
-
Constructor Summary
Constructors Constructor Description EutilFetch(String apiKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfetch(String db, String searchString, int limit)Attempts to fetch data via Eutils; failures will be re-attempted several times.Collection<String>query(String db, String query)
-
-
-
Constructor Detail
-
EutilFetch
public EutilFetch(String apiKey)
-
-
Method Detail
-
fetch
@Nullable public String fetch(String db, String searchString, int limit) throws IOException
Attempts to fetch data via Eutils; failures will be re-attempted several times.See ncbi help
- Parameters:
db- e.g., gds.searchString- search stringlimit- - Maximum number of records to return.- Throws:
IOException- if there is a problem while manipulating the file
-
query
public Collection<String> query(String db, String query) throws IOException
- Throws:
IOException
-
-