sashenka.modules
Class GoogleServlet.Googler

java.lang.Object
  |
  +--sashenka.modules.GoogleServlet.Googler
Enclosing class:
GoogleServlet

public static class GoogleServlet.Googler
extends java.lang.Object


Nested Class Summary
static class GoogleServlet.Googler.GooglerResult
           
static class GoogleServlet.Googler.NoSearchResultsException
           
 
Constructor Summary
GoogleServlet.Googler()
           
 
Method Summary
static GoogleServlet.Googler.GooglerResult feelingLucky(java.lang.String query)
           
static java.lang.String getURL(java.lang.String url)
           
static java.util.List search(java.lang.String query)
           
static java.lang.String textDecode(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleServlet.Googler

public GoogleServlet.Googler()
Method Detail

feelingLucky

public static GoogleServlet.Googler.GooglerResult feelingLucky(java.lang.String query)
                                                        throws GoogleServlet.Googler.NoSearchResultsException
GoogleServlet.Googler.NoSearchResultsException

search

public static java.util.List search(java.lang.String query)
                             throws GoogleServlet.Googler.NoSearchResultsException
GoogleServlet.Googler.NoSearchResultsException

textDecode

public static java.lang.String textDecode(java.lang.String s)

getURL

public static java.lang.String getURL(java.lang.String url)