X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Febi%2FEBIFetchClient.java;h=fe9e28ff3444fc38650d15295bc3b91da3fd7662;hb=692665370a03079eee96e3e47482df5e792ee5d0;hp=623a586159359d821951ead58c186def55da383c;hpb=865a855a4ca87eadb3e5ff284ed32ed307d9c34b;p=jalview.git diff --git a/src/jalview/ws/ebi/EBIFetchClient.java b/src/jalview/ws/ebi/EBIFetchClient.java index 623a586..fe9e28f 100644 --- a/src/jalview/ws/ebi/EBIFetchClient.java +++ b/src/jalview/ws/ebi/EBIFetchClient.java @@ -1,23 +1,27 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1) + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) * Copyright (C) 2014 The Jalview Authors * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . * The Jalview Authors are detailed in the 'AUTHORS' file. */ package jalview.ws.ebi; +import jalview.util.MessageManager; + import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; @@ -54,7 +58,7 @@ public class EBIFetchClient public String[] getSupportedDBs() { // TODO - implement rest call for dbfetch getSupportedDBs - throw new Error("Not yet implemented"); + throw new Error(MessageManager.getString("error.not_yet_implemented")); } /** @@ -65,7 +69,7 @@ public class EBIFetchClient public String[] getSupportedFormats() { // TODO - implement rest call for dbfetch getSupportedFormats - throw new Error("Not yet implemented"); + throw new Error(MessageManager.getString("error.not_yet_implemented")); } /** @@ -76,7 +80,7 @@ public class EBIFetchClient public String[] getSupportedStyles() { // TODO - implement rest call for dbfetch getSupportedStyles - throw new Error("Not yet implemented"); + throw new Error(MessageManager.getString("error.not_yet_implemented")); } public File fetchDataAsFile(String ids, String f, String s) @@ -219,10 +223,9 @@ public class EBIFetchClient return null; } finally { - //System.err.println("Took " + (System.currentTimeMillis() - time) - // / 1000 + " secs for one call."); + // System.err.println("Took " + (System.currentTimeMillis() - time) + // / 1000 + " secs for one call."); } return null; } } -