|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.nutch.io.VersionedWritable
net.nutch.parse.ParseData
Data extracted from a page's content.
Parse.getData()| Field Summary | |
static String |
DIR_NAME
|
| Constructor Summary | |
ParseData()
|
|
ParseData(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. |
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(String title,
Outlink[] outlinks,
Properties metadata)
| Method Detail |
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
Writablein. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields in interface WritablereadFields in class VersionedWritableIOException
public final void write(DataOutput out)
throws IOException
Writableout.
write in interface Writablewrite in class VersionedWritableIOException
public static ParseData read(DataInput in)
throws IOException
IOExceptionpublic 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 | ||||||||||