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 Object
implements Streamable


Constructor Summary
StringStreamable()
           
StringStreamable(String value)
           
 
Method Summary
 String get()
           
 void readFrom(StreamInput in)
           
 void set(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(String value)
Method Detail

set

public void set(String newValue)

get

public String get()

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.