## org.biojava.bio.program.blast2html
Class NcbiDatabaseURLGenerator

    java.lang.Object
      org.biojava.bio.program.blast2html.NcbiDatabaseURLGenerator

All Implemented Interfaces:
  DatabaseURLGenerator

    public class NcbiDatabaseURLGenerator

extends 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. 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
`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.

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 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 interface `DatabaseURLGenerator`
  Parameters:
    `poID` - a database ID
    `poProperties` - `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 interface `DatabaseURLGenerator`
  Parameters:
    `poID` - a `String` value
    `poProperties` - a `Properties` value
  Returns:
    a `String` value