org.apache.nutch.parse
Class ParseText
java.lang.Object
org.apache.nutch.parse.ParseText
- All Implemented Interfaces:
- Writable
public final class ParseText
- extends Object
- implements Writable
DIR_NAME
public static final String DIR_NAME
- See Also:
- Constant Field Values
ParseText
public ParseText()
ParseText
public ParseText(String text)
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface Writable
- Throws:
IOException
write
public final void write(DataOutput out)
throws IOException
- Specified by:
write
in interface Writable
- Throws:
IOException
read
public static final ParseText read(DataInput in)
throws IOException
- Throws:
IOException
getText
public String getText()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
Copyright © 2011 The Apache Software Foundation