org.jasig.portlet.widget.service
Class GoogleGadgetService

java.lang.Object
  extended by org.jasig.portlet.widget.service.GoogleGadgetService

public class GoogleGadgetService
extends Object


Nested Class Summary
 class GoogleGadgetService.GadgetCategory
           
 class GoogleGadgetService.GadgetEntry
           
 class GoogleGadgetService.GadgetList
           
 
Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
GoogleGadgetService()
           
 
Method Summary
 List<GoogleGadgetService.GadgetCategory> getCategories()
           
 GoogleGadgetService.GadgetList getGadgets(String query, String category, int start)
           
protected  GoogleGadgetService.GadgetList getGadgetsForUrl(String url, Pattern entryPattern)
           
 Module getModule(String url)
           
protected  InputStream getStreamFromUrl(String url)
           
protected  String getStringContentFromUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

GoogleGadgetService

public GoogleGadgetService()
Method Detail

getCategories

public List<GoogleGadgetService.GadgetCategory> getCategories()

getGadgets

public GoogleGadgetService.GadgetList getGadgets(String query,
                                                 String category,
                                                 int start)

getModule

public Module getModule(String url)

getGadgetsForUrl

protected GoogleGadgetService.GadgetList getGadgetsForUrl(String url,
                                                          Pattern entryPattern)

getStringContentFromUrl

protected String getStringContentFromUrl(String url)
                                  throws org.apache.http.client.ClientProtocolException,
                                         IOException
Throws:
org.apache.http.client.ClientProtocolException
IOException

getStreamFromUrl

protected InputStream getStreamFromUrl(String url)
                                throws org.apache.http.client.ClientProtocolException,
                                       IOException
Throws:
org.apache.http.client.ClientProtocolException
IOException


Copyright © 2011 Jasig. All Rights Reserved.