parse(String url)
method, which will return a String with the contents of an HTML page, without the tags. After calling parse, you can get the HTML title (contents of the TITLE tag) by calling title(). Subclasses may override the handleText(), handleComment(), handleStartTag(), etc. methods so that parse(String url)
returns something other than the text of the web page. (For example, one may be interested in returning only part of the text, or only the links.)
@author Sepandar Kamvar (sdkamvar@stanford.edu)
|
|
|
|