Package ubic.gemma.core.loader.entrez
Class EutilFetch
- java.lang.Object
-
- ubic.gemma.core.loader.entrez.EutilFetch
-
public class EutilFetch extends Object
- Author:
- paul
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EutilFetch.Mode
-
Constructor Summary
Constructors Constructor Description EutilFetch()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
fetch(String db, String searchString, int limit)
Attempts to fetch data via Eutils; failures will be re-attempted several times.static Document
parseStringInputStream(String details)
-
-
-
Method Detail
-
fetch
public static String fetch(String db, String searchString, int limit) throws IOException
Attempts to fetch data via Eutils; failures will be re-attempted several times.- Parameters:
db
- dbsearchString
- search stringlimit
- limit- Returns:
- data
- Throws:
IOException
- when there are IO problems
-
parseStringInputStream
public static Document parseStringInputStream(String details) throws SAXException, IOException, ParserConfigurationException
-
-