org.biojava.bio.program.blast2html
Class NcbiDatabaseURLGenerator

java.lang.Object
  extended byorg.biojava.bio.program.blast2html.NcbiDatabaseURLGenerator
All Implemented Interfaces:
DatabaseURLGenerator

public class NcbiDatabaseURLGenerator
extends java.lang.Object
implements DatabaseURLGenerator

Simple URL generator for Entrez at the NCBI. 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. All Rights Reserved. This code released to the biojava project, May 2001 under the LGPL license.

Version:
1.0
Author:
Cambridge Antibody Technology Group plc

Constructor Summary
NcbiDatabaseURLGenerator()
           
 
Method Summary
 java.lang.String toLink(java.lang.String poID, java.util.Properties poProperties)
          Returns a full retrieve item anchor for the given database id.
 java.lang.String toURL(java.lang.String poID, java.util.Properties poProperties)
          Returns a string representation of a URL to the specified ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NcbiDatabaseURLGenerator

public NcbiDatabaseURLGenerator()
Method Detail

toURL

public java.lang.String toURL(java.lang.String poID,
                              java.util.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 interface DatabaseURLGenerator
Parameters:
poID - a database ID
poProperties - Properties - any options needed
Returns:
a String value

toLink

public java.lang.String toLink(java.lang.String poID,
                               java.util.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 interface DatabaseURLGenerator
Parameters:
poID - a String value
poProperties - a Properties value
Returns:
a String value