X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fseqfetcher%2FDbSourceProxy.java;h=4b9c472ce080dd9ce700c5c7887a6023612ddaa2;hb=e9aa1cee679000405c5549829ee08e1c08b2ffd5;hp=67097efe11ec68c0ba933ffd01629898cb42f988;hpb=56d8f0b05df600ea54388d58cf505d911beb630a;p=jalview.git diff --git a/src/jalview/ws/seqfetcher/DbSourceProxy.java b/src/jalview/ws/seqfetcher/DbSourceProxy.java index 67097ef..4b9c472 100644 --- a/src/jalview/ws/seqfetcher/DbSourceProxy.java +++ b/src/jalview/ws/seqfetcher/DbSourceProxy.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) - * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) + * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle * * This file is part of Jalview. * @@ -31,7 +31,7 @@ import com.stevesoft.pat.Regex; * database (unify with io) * * @author JimP - * + * TODO: promote to API */ public interface DbSourceProxy { @@ -100,11 +100,10 @@ public interface DbSourceProxy /** * make one or more queries to the database and attempt to parse the response * into an alignment - * - * @param queries + * @param queries - one or more queries for database in expected form * @return null if queries were successful but result was not parsable - * @throws Exception - * TODO + * @throws Exception - propagated from underlying transport to database (note - exceptions are not raised if query not found in database) + * */ public AlignmentI getSequenceRecords(String queries) throws Exception;