Interface SequenceVersionFetcher
-
- All Known Implementing Classes:
CachedUnisaveClient
,UnisaveClient
public interface SequenceVersionFetcher
A fetcher that fetches a sequence from a specific version and/or a version from a specific sequence- Since:
30/09/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
fetchSequenceFromVersion(String id, int version)
fetchSequenceFromVersion.int
fetchVersionFromSequence(String id, String sequence)
fetchVersionFromSequence.
-
-
-
Method Detail
-
fetchSequenceFromVersion
String fetchSequenceFromVersion(String id, int version) throws BridgeFailedException
fetchSequenceFromVersion.
- Parameters:
id
- aString
object.version
- a int.- Returns:
- a
String
object. - Throws:
BridgeFailedException
- if any.
-
fetchVersionFromSequence
int fetchVersionFromSequence(String id, String sequence) throws BridgeFailedException
fetchVersionFromSequence.
- Parameters:
id
- aString
object.sequence
- aString
object.- Returns:
- a int.
- Throws:
BridgeFailedException
- if any.
-
-