Class EbiDatabaseURLGenerator
- java.lang.Object
-
- org.biojava.bio.program.blast2html.EbiDatabaseURLGenerator
-
- All Implemented Interfaces:
DatabaseURLGenerator
public class EbiDatabaseURLGenerator extends Object implements DatabaseURLGenerator
Simple URL generator for EMBL at the EBI. For more upto date information about how to generate URL's see dbfetch Primary author - Colin Hardman (CAT) Other authors - Tim Dilks (CAT) Simon Brocklehurst (CAT) Stuart Johnston (CAT) Lawerence Bower (CAT) Derek Crockford (CAT) Neil Benn (CAT) Copyright 2001 Cambridge Antibody Technology Group plc. This code released to the biojava project, May 2001 under the LGPL license.- Version:
- 1.0
- Author:
- Cambridge Antibody Technology Group plc
-
-
Constructor Summary
Constructors Constructor Description EbiDatabaseURLGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toLink(String poID, Properties poProperties)
Returns a full retrieve item anchor for the given database id.String
toURL(String poID, Properties poProperties)
Returns a string representation of a URL to the specified ID.
-
-
-
Constructor Detail
-
EbiDatabaseURLGenerator
public EbiDatabaseURLGenerator()
-
-
Method Detail
-
toURL
public String toURL(String poID, Properties poProperties)
Description copied from interface:DatabaseURLGenerator
Returns a string representation of a URL to the specified ID. Used in summary section.- Specified by:
toURL
in interfaceDatabaseURLGenerator
- Parameters:
poID
- a database IDpoProperties
-Properties
- any options needed- Returns:
- a
String
value
-
toLink
public String toLink(String poID, Properties poProperties)
Description copied from interface:DatabaseURLGenerator
Returns a full retrieve item anchor for the given database id. Used in detail section.- Specified by:
toLink
in interfaceDatabaseURLGenerator
- Parameters:
poID
- aString
valuepoProperties
- aProperties
value- Returns:
- a
String
value
-
-