JAL-2316 Setting up IdentifiersUrlProvider
[jalview.git] / src / jalview / urls / IdentifiersUrlProvider.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3  * Copyright (C) $$Year-Rel$$ The Jalview Authors
4  * 
5  * This file is part of Jalview.
6  * 
7  * Jalview is free software: you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License 
9  * as published by the Free Software Foundation, either version 3
10  * of the License, or (at your option) any later version.
11  *  
12  * Jalview is distributed in the hope that it will be useful, but 
13  * WITHOUT ANY WARRANTY; without even the implied warranty 
14  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15  * PURPOSE.  See the GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License
18  * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
19  * The Jalview Authors are detailed in the 'AUTHORS' file.
20  */
21
22 package jalview.urls;
23
24 import java.util.Map;
25 import java.util.Vector;
26
27 /**
28  * 
29  * Implements the UrlProviderI interface for a UrlProvider object which serves
30  * URLs from identifiers.org
31  * 
32  * @author $author$
33  * @version $Revision$
34  */
35 public class IdentifiersUrlProvider extends UrlProviderImpl
36 {
37
38   public IdentifiersUrlProvider(String cachedUrlList, String idFileName)
39   {
40
41   }
42
43   public IdentifiersUrlProvider(Map<String, String> urlList,
44           String idFileName)
45   {
46
47   }
48
49   @Override
50   public String getDefaultUrl()
51   {
52     // TODO Auto-generated method stub
53     return null;
54   }
55
56   @Override
57   public boolean setDefaultUrl(String id)
58   {
59     return false;
60   }
61
62   @Override
63   public String writeUrlsAsString()
64   {
65     return "";
66   }
67
68   @Override
69   public Vector<String> getLinksForDisplay()
70   {
71     // TODO Auto-generated method stub
72     return null;
73   }
74
75   @Override
76   public String getDefaultUrl(String seqid)
77   {
78     // TODO Auto-generated method stub
79     return null;
80   }
81
82   @Override
83   public String getDefaultTarget(String seqid)
84   {
85     // TODO Auto-generated method stub
86     return null;
87   }
88
89   @Override
90   public void setUrlLinks(Vector<String> names, Vector<String> urls)
91   {
92     // deliberately left empty
93     // TODO throw exception if called
94   }
95
96   @Override
97   public String chooseDefaultUrl()
98   {
99     // TODO Auto-generated method stub
100     return null;
101   }
102
103 }