org.elasticsearch.common.io.stream
Class StringStreamable
java.lang.Object
org.elasticsearch.common.io.stream.StringStreamable
- All Implemented Interfaces:
- Streamable
public class StringStreamable
- extends java.lang.Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringStreamable
public StringStreamable()
StringStreamable
public StringStreamable(java.lang.String value)
set
public void set(java.lang.String newValue)
get
public java.lang.String get()
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException