public final class ParseText extends VersionedWritable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getText() |
byte |
getVersion()
Return the version number of the current implementation.
|
int |
hashCode() |
static ParseText |
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 . |
public static final String DIR_NAME
public ParseText()
public ParseText(String text)
public byte getVersion()
VersionedWritable
getVersion
in class VersionedWritable
public 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 final ParseText read(DataInput in) throws IOException
IOException
public String getText()
Copyright © 2007, 2017, Oracle and/or its affiliates. All rights reserved.