org.apache.nutch.parse
Class ParseImpl
java.lang.Object
org.apache.nutch.parse.ParseImpl
- All Implemented Interfaces:
- Parse
- public class ParseImpl
- extends Object
- implements Parse
The result of parsing a page's raw content.
- See Also:
Parser.getParse(Content)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseImpl
public ParseImpl(String text,
ParseData data)
getText
public String getText()
- Description copied from interface:
Parse
- The textual content of the page. This is indexed, searched, and used when
generating snippets.
- Specified by:
getText
in interface Parse
getData
public ParseData getData()
- Description copied from interface:
Parse
- Other data extracted from the page.
- Specified by:
getData
in interface Parse
Copyright © 2006 The Apache Software Foundation