X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Futils%2FUrlDownloadClient.java;h=dcd861ad8f9c99932cf5a10e07e779abe3c25c3b;hb=1810df9d010000e434975a8a4e68dcbda238f7f1;hp=86e3f76b5c3a4550f14a7ba59bd651bd99df3eae;hpb=a1bf90058be8be92554ecbc5868982dcdbed5a80;p=jalview.git diff --git a/src/jalview/ws/utils/UrlDownloadClient.java b/src/jalview/ws/utils/UrlDownloadClient.java index 86e3f76..dcd861a 100644 --- a/src/jalview/ws/utils/UrlDownloadClient.java +++ b/src/jalview/ws/utils/UrlDownloadClient.java @@ -47,7 +47,8 @@ public class UrlDownloadClient * the name of file to save the URLs to * @throws IOException */ - public void download(String urlstring, String outfile) throws IOException + public static void download(String urlstring, String outfile) + throws IOException { FileOutputStream fos = null; ReadableByteChannel rbc = null;