Skip to Main Content
Building an Intelligent Web: Theory and Practice
book

Building an Intelligent Web: Theory and Practice

by Pawan Lingras, Rajendra Akerkar
March 2010
Intermediate to advanced content levelIntermediate to advanced
326 pages
12h 25m
English
Jones & Bartlett Learning
Content preview from Building an Intelligent Web: Theory and Practice
“4137X˙CH07˙Akerkar” — 2007/9/8 — 11:21 — page 270 — #8
270 CHAPTER 7 Web Content Mining
Method Detail
readContent
public java.lang.String readContent(java.net.URL url)
Parameters:
url - URL of the web page passed of the type URL
Returns:
Contents from the web page as a string
extractURL
public java.util.Vector extractURL(java.net.URL url,
java.lang.String content)
Parameters:
url - URL of the web page of the type URL
content - Contents of the web page of the type String
Returns:
A vector of links, each link is of the type URL
main
public static void main(java.lang.String[] args)
Parameters:
args - An array of Strings, e.g. http://www.sun.com
Figure 7.6 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 9780763741372