public class NcbiDatabaseURLGenerator extends Object implements DatabaseURLGenerator
Constructor and Description |
---|
NcbiDatabaseURLGenerator() |
Modifier and Type | Method and 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.
|
public NcbiDatabaseURLGenerator()
public String toURL(String poID, Properties poProperties)
DatabaseURLGenerator
toURL
in interface DatabaseURLGenerator
poID
- a database IDpoProperties
- Properties
- any options neededString
valuepublic String toLink(String poID, Properties poProperties)
DatabaseURLGenerator
toLink
in interface DatabaseURLGenerator
poID
- a String
valuepoProperties
- a Properties
valueString
valueCopyright © 2014 BioJava. All rights reserved.