X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FSiftsClientI.java;h=367a0decee70763bc7e3919de09aca8b20177d35;hb=4f30214e8098748469c6a4269ac2ed6c5750e4b0;hp=e2fac14f9a321092a1e5587fa61eee5475b286ac;hpb=4ff572f7cf17f5ca9c23f82bbe41005af8af55cc;p=jalview.git diff --git a/src/jalview/api/SiftsClientI.java b/src/jalview/api/SiftsClientI.java index e2fac14..367a0de 100644 --- a/src/jalview/api/SiftsClientI.java +++ b/src/jalview/api/SiftsClientI.java @@ -29,6 +29,8 @@ import jalview.xml.binding.sifts.Entry.Entity; import java.util.HashMap; import java.util.HashSet; +// JBPComment: this isn't a top-level Jalview API - should be in its own package api + public interface SiftsClientI { /** @@ -46,13 +48,6 @@ public interface SiftsClientI public String getDbCoordSys(); /** - * Get DB Evidence for the SIFTs Entry - * - * @return - */ - public String getDbEvidence(); - - /** * Get DB Source for the SIFTs Entry * * @return @@ -99,20 +94,13 @@ public interface SiftsClientI public boolean isAccessionMatched(String accessionId); /** - * Get the standard DB referenced by the SIFTs Entry - * - * @return - */ - public String[] getEntryDBs(); - - /** * * @param mop * MappingOutputPojo * @return Sequence<->Structure mapping as int[][] * @throws SiftsException */ - public StringBuffer getMappingOutput(MappingOutputPojo mop) + public StringBuilder getMappingOutput(MappingOutputPojo mop) throws SiftsException; /** @@ -128,7 +116,7 @@ public interface SiftsClientI */ public StructureMapping getSiftsStructureMapping(SequenceI seq, String pdbFile, String chain) throws SiftsException; - + /** * Get residue by residue mapping for a given Sequence and SIFTs entity * @@ -140,6 +128,5 @@ public interface SiftsClientI * @throws Exception */ public HashMap getGreedyMapping(String entityId, - SequenceI seq, - java.io.PrintStream os) throws SiftsException; + SequenceI seq, java.io.PrintStream os) throws SiftsException; } \ No newline at end of file