com.knowgate.yahoo
Class Boss

java.lang.Object
  extended by com.knowgate.yahoo.Boss

public class Boss
extends java.lang.Object

Client interface for Yahoo! Search BOSS


Constructor Summary
Boss()
           
 
Method Summary
 int count()
           
 int responseCode()
           
 java.util.ArrayList<Result> results()
           
 YSearchResponse search(java.lang.String sKey, java.lang.String sQuery, java.lang.String sSites)
          Search using Yahoo!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Boss

public Boss()
Method Detail

responseCode

public int responseCode()

count

public int count()

results

public java.util.ArrayList<Result> results()

search

public YSearchResponse search(java.lang.String sKey,
                              java.lang.String sQuery,
                              java.lang.String sSites)
                       throws java.io.IOException
Search using Yahoo! BOSS

Parameters:
sKey - Yahoo! App. Id. Key
sQuery - String being searched
sSites - Restrict search to selectect sites, if null no restriction is applied
Returns:
YSearchResponse
Throws:
java.io.IOException