X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fseqfetcher%2FDbSourceProxy.java;h=4b9c472ce080dd9ce700c5c7887a6023612ddaa2;hb=1c66dc9053356a709e9cd9d3282517b5221f1ba2;hp=ea3fc0fd4b96c5a711fb7f5f960ed4d2da657856;hpb=a45774ee31d9f35d4eff46d54d7deab719afb092;p=jalview.git diff --git a/src/jalview/ws/seqfetcher/DbSourceProxy.java b/src/jalview/ws/seqfetcher/DbSourceProxy.java index ea3fc0f..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.7) - * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle + * 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;