|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.nutch.io.VersionedWritable
org.apache.nutch.parse.ParseData
Data extracted from a page's content.
Parse.getData()
Field Summary | |
static String |
DIR_NAME
|
Constructor Summary | |
ParseData()
|
|
ParseData(ParseStatus status,
String title,
Outlink[] outlinks,
Properties metadata)
|
Method Summary | |
boolean |
equals(Object o)
|
String |
get(String name)
Return the value of a metadata property. |
Properties |
getMetadata()
Other page properties. |
Outlink[] |
getOutlinks()
The outlinks of the page. |
ParseStatus |
getStatus()
The status of parsing the page. |
String |
getTitle()
The title of the page. |
byte |
getVersion()
Return the version number of the current implementation. |
static void |
main(String[] argv)
|
static ParseData |
read(DataInput in)
|
void |
readFields(DataInput in)
Reads the fields of this object from in . |
String |
toString()
|
void |
write(DataOutput out)
Writes the fields of this object to out . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String DIR_NAME
Constructor Detail |
public ParseData()
public ParseData(ParseStatus status, String title, Outlink[] outlinks, Properties metadata)
Method Detail |
public ParseStatus getStatus()
public String getTitle()
public Outlink[] getOutlinks()
public Properties getMetadata()
public String get(String name)
public byte getVersion()
VersionedWritable
getVersion
in class VersionedWritable
public final void readFields(DataInput in) throws IOException
Writable
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields
in interface Writable
readFields
in class VersionedWritable
IOException
public final void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
write
in class VersionedWritable
IOException
public static ParseData read(DataInput in) throws IOException
IOException
public boolean equals(Object o)
public String toString()
public static void main(String[] argv) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |