wtanaka.praya.yahoo
Class YahooUtils

java.lang.Object
  |
  +--wtanaka.praya.yahoo.YahooUtils

public class YahooUtils
extends java.lang.Object

Utility methods for interacting with Yahoo!

Return to Sourceforge or the Praya Homepage

Version:
$Name: $ $Date: 2001/10/22 08:19:35 $
Author:
$Author: wtanaka $

Constructor Summary
YahooUtils()
           
 
Method Summary
static java.net.URL getIconURLForUser(java.lang.String id)
          Attempts to get a photo for the given yahoo username.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

YahooUtils

public YahooUtils()
Method Detail

getIconURLForUser

public static java.net.URL getIconURLForUser(java.lang.String id)
Attempts to get a photo for the given yahoo username. Does this by fetching profiles.yahoo.com/id and searching for the image in the returned page. If the parse fails, returns http://us.i1.yimg.com/us.yimg.com/i/ppl/no_photo.gif
Parameters:
id - the yahoo ID.
Returns:
a url for an image.