org.elasticsearch.common.io.stream
Class StringStreamable

java.lang.Object
  extended by org.elasticsearch.common.io.stream.StringStreamable
All Implemented Interfaces:
Streamable

public class StringStreamable
extends java.lang.Object
implements Streamable


Constructor Summary
StringStreamable()
           
StringStreamable(java.lang.String value)
           
 
Method Summary
 java.lang.String get()
           
 void readFrom(StreamInput in)
           
 void set(java.lang.String newValue)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringStreamable

public StringStreamable()

StringStreamable

public StringStreamable(java.lang.String value)
Method Detail

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