|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.nutch.parse.ParseImpl
public class ParseImpl
The result of parsing a page's raw content.
Parser.getParse(Content)| Constructor Summary | |
|---|---|
ParseImpl()
|
|
ParseImpl(Parse parse)
|
|
ParseImpl(ParseText text,
ParseData data)
|
|
ParseImpl(ParseText text,
ParseData data,
boolean isCanonical)
|
|
ParseImpl(String text,
ParseData data)
|
|
| Method Summary | |
|---|---|
ParseData |
getData()
Other data extracted from the page. |
String |
getText()
The textual content of the page. |
boolean |
isCanonical()
Indicates if the parse is coming from a url or a sub-url |
static ParseImpl |
read(DataInput in)
|
void |
readFields(DataInput in)
|
void |
write(DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParseImpl()
public ParseImpl(Parse parse)
public ParseImpl(String text,
ParseData data)
public ParseImpl(ParseText text,
ParseData data)
public ParseImpl(ParseText text,
ParseData data,
boolean isCanonical)
| Method Detail |
|---|
public String getText()
Parse
getText in interface Parsepublic ParseData getData()
Parse
getData in interface Parsepublic boolean isCanonical()
Parse
isCanonical in interface Parse
public final void write(DataOutput out)
throws IOException
write in interface org.apache.hadoop.io.WritableIOException
public void readFields(DataInput in)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException
public static ParseImpl read(DataInput in)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||