X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Furls%2FIdOrgSettings.java;fp=src%2Fjalview%2Furls%2FIdOrgSettings.java;h=7dd1a199438b358ab1d6126f91a5bb509bfa196c;hb=9eabd6dffd6d19b2826b887a5def80351b9bceed;hp=0000000000000000000000000000000000000000;hpb=9debcac658224e1a84ddff4c4fd9f696e812913f;p=jalview.git diff --git a/src/jalview/urls/IdOrgSettings.java b/src/jalview/urls/IdOrgSettings.java new file mode 100644 index 0000000..7dd1a19 --- /dev/null +++ b/src/jalview/urls/IdOrgSettings.java @@ -0,0 +1,55 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ 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. + * + * 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 . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ + +package jalview.urls; + +/** + * Holds settings for identifiers.org e.g. url, download location + * + * @author $author$ + * @version $Revision$ + */ +public class IdOrgSettings +{ + private static String url; + + private static String location; + + public static void setUrl(String seturl) + { + url = seturl; + } + + public static void setDownloadLocation(String setloc) + { + location = setloc; + } + + public static String getUrl() + { + return url; + } + + public static String getDownloadLocation() + { + return location; + } +}