resolve conflict with Mungo's merge
[jalview.git] / src / jalview / ws / ebi / EBIFetchClient.java
index b09cbaa..9f6bc65 100644 (file)
@@ -98,13 +98,15 @@ public class EBIFetchClient
    * @return the file holding the response
    * @throws OutOfMemoryError
    */
-  public File fetchDataAsFile(String ids, String format, String s)
+
+  public File fetchDataAsFile(String ids, String format, String s,
+          String ext)
           throws OutOfMemoryError
   {
     File outFile = null;
     try
     {
-      outFile = File.createTempFile("jalview", ".xml");
+      outFile = File.createTempFile("jalview", ext);
       outFile.deleteOnExit();
       fetchData(ids, format, s, outFile);
       if (outFile.length() == 0)