|
Carrot2 v3.3.0
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.source.boss.BossSearchService
org.carrot2.source.boss.BossNewsSearchService
public final class BossNewsSearchService
Sends queries to Yahoo! Boss News search service. Instances of this class are thread-safe.
Attributes of this class correspond to Yahoo's documentation (see links below).
| Field Summary | |
|---|---|
int |
age
Maximum age of returned news in days. |
String |
serviceURI
Boss News search service URI. |
| Fields inherited from class org.carrot2.source.boss.BossSearchService |
|---|
appid, CARROTSEARCH_APPID, languageAndRegion, logger, metadata, sites, YBOSS_RESPONSE |
| Constructor Summary | |
|---|---|
BossNewsSearchService()
|
|
| Method Summary | |
|---|---|
protected ArrayList<org.apache.commons.httpclient.NameValuePair> |
createRequestParams(String query,
int start,
int results)
Assembles an array of NameValuePair with request parameters. |
protected String |
getServiceURI()
|
| Methods inherited from class org.carrot2.source.boss.BossSearchService |
|---|
query |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String serviceURI
public int age
| Constructor Detail |
|---|
public BossNewsSearchService()
| Method Detail |
|---|
protected ArrayList<org.apache.commons.httpclient.NameValuePair> createRequestParams(String query,
int start,
int results)
NameValuePair with request parameters.
createRequestParams in class BossSearchServiceprotected String getServiceURI()
getServiceURI in class BossSearchService
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||