org.openprivacy.reptile.extensions
Class Favicon

java.lang.Object
  |
  +--org.openprivacy.reptile.extensions.Favicon

public class Favicon
extends java.lang.Object

Builds a favorite icon URL for a given site. The only major thing this class does is make sure we build a correct URL even if the site information is incorrect.

Version:
$Id: Favicon.java,v 1.8 2002/07/03 20:36:56 burton Exp $
Author:
Kevin A. Burton

Field Summary
static java.lang.String FAVICON
           
static java.lang.String LOCAL_FAVICON
           
 
Constructor Summary
Favicon()
           
 
Method Summary
 java.lang.String get(java.lang.String siteLocation)
          Tries to figure out what is the best favicon to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAVICON

public static final java.lang.String FAVICON
See Also:
Constant Field Values

LOCAL_FAVICON

public static final java.lang.String LOCAL_FAVICON
See Also:
Constant Field Values
Constructor Detail

Favicon

public Favicon()
Method Detail

get

public java.lang.String get(java.lang.String siteLocation)
Tries to figure out what is the best favicon to use. If there is a resource on the remove site then we can use this (but it needs to be local). Else we can just use the local one.