Package org.apache.nutch.parse
Class ParseText
- java.lang.Object
-
- org.apache.nutch.parse.ParseText
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetText()static voidmain(String[] argv)static ParseTextread(DataInput in)voidreadFields(DataInput in)StringtoString()voidwrite(DataOutput out)
-
-
-
Field Detail
-
DIR_NAME
public static final String DIR_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ParseText
public ParseText()
-
ParseText
public ParseText(String text)
-
-
Method Detail
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfaceWritable- Throws:
IOException
-
write
public final void write(DataOutput out) throws IOException
- Specified by:
writein interfaceWritable- Throws:
IOException
-
read
public static final ParseText read(DataInput in) throws IOException
- Throws:
IOException
-
getText
public String getText()
-
-