@Service public class GoogleGadgetService extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
GoogleGadgetService.GadgetCategory |
class |
GoogleGadgetService.GadgetEntry |
class |
GoogleGadgetService.GadgetList |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
GoogleGadgetService() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public List<GoogleGadgetService.GadgetCategory> getCategories()
public GoogleGadgetService.GadgetList getGadgets(String query, String category, int start)
protected GoogleGadgetService.GadgetList getGadgetsForUrl(String url, Pattern entryPattern)
protected String getStringContentFromUrl(String url) throws org.apache.http.client.ClientProtocolException, IOException
org.apache.http.client.ClientProtocolExceptionIOExceptionprotected InputStream getStreamFromUrl(String url) throws org.apache.http.client.ClientProtocolException, IOException
org.apache.http.client.ClientProtocolExceptionIOExceptionCopyright © 2016 Jasig. All Rights Reserved.