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()
VersionedWritablegetVersion in class VersionedWritablepublic 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 VersionedWritableIOExceptionpublic final void write(DataOutput out) throws IOException
Writableout.write in interface Writablewrite in class VersionedWritableIOExceptionpublic static final ParseText read(DataInput in) throws IOException
IOExceptionpublic String getText()
Copyright © 2007, 2014, Oracle and/or its affiliates. All rights reserved.