- public static void main(String[] args)
- {
- EBIFetchClient ebi = new EBIFetchClient();
- String[] result = ebi.fetchData("uniprot:25KD_SARPE;G6PD_HUMAN",
- "xml", null);
-
- try
- {
- java.io.PrintWriter out = new java.io.PrintWriter(
- new java.io.FileWriter("out.xml"));
-
- for (int i = 0; i < result.length; i++)
- {
- out.println(result[i]);
- }
- out.close();
- }
- catch (Exception ex)
- {
- ex.printStackTrace();
- }
-
- }