|
Spreadsheet Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--corpus.gobbler.SearchMethod
Title: SearchMethod
Description: Represents a way of finding URL's for certain file types.
Copyright: Copyright (c) 2003
Company: VUW:MCS
Field Summary | |
protected java.lang.String |
fileType
|
protected int |
numPerPage
|
protected SearchResult |
result
|
protected java.lang.String |
searchString
|
Constructor Summary | |
SearchMethod(java.lang.String searchString,
java.lang.String fileType,
int numPerPage,
Gobbler gobbler)
Create a SearchMethod |
Method Summary | |
protected abstract int |
EstimateTotalResults()
|
protected void |
html(java.lang.String s)
|
protected void |
newEstimate(int ne)
|
SearchResult |
performSearch(int targetnum)
Starts interaction with Google. |
protected abstract SearchResult |
StartSearch(int startNumber)
|
protected void |
status(java.lang.String s)
|
protected void |
urlCountTick()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String searchString
protected int numPerPage
protected java.lang.String fileType
protected SearchResult result
Constructor Detail |
public SearchMethod(java.lang.String searchString, java.lang.String fileType, int numPerPage, Gobbler gobbler)
Method Detail |
protected void status(java.lang.String s)
protected void html(java.lang.String s)
protected void urlCountTick()
protected void newEstimate(int ne)
protected abstract SearchResult StartSearch(int startNumber)
protected abstract int EstimateTotalResults()
public SearchResult performSearch(int targetnum)
targetnum
- The total number of results wanted. (Will be reduced if it exceeds the total number of results available)
|
Spreadsheet Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |