|
||||||||||
| 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(String text,
ParseData data)
|
|
| Method Summary | |
|---|---|
Configuration |
getConf()
Return the configuration used by this object. |
ParseData |
getData()
Other data extracted from the page. |
String |
getText()
The textual content of the page. |
static ParseImpl |
read(DataInput in,
Configuration conf)
|
void |
readFields(DataInput in)
Reads the fields of this object from in. |
void |
setConf(Configuration conf)
Set the configuration to be used by this object. |
void |
write(DataOutput out)
Writes the fields of this object to 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)
| Method Detail |
|---|
public String getText()
Parse
getText in interface Parsepublic ParseData getData()
Parse
getData in interface Parse
public final void write(DataOutput out)
throws IOException
Writableout.
write in interface WritableIOException
public void readFields(DataInput in)
throws IOException
Writablein. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields in interface WritableIOException
public static ParseImpl read(DataInput in,
Configuration conf)
throws IOException
IOExceptionpublic void setConf(Configuration conf)
Configurable
setConf in interface Configurablepublic Configuration getConf()
Configurable
getConf in interface Configurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||