org.elasticsearch.util.io.compression
Class CompressedString

java.lang.Object
  extended by org.elasticsearch.util.io.compression.CompressedString
All Implemented Interfaces:
Streamable

public class CompressedString
extends java.lang.Object
implements Streamable


Constructor Summary
CompressedString(java.lang.String string)
           
 
Method Summary
static CompressedString readCompressedString(StreamInput in)
           
 void readFrom(StreamInput in)
           
 java.lang.String string()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressedString

public CompressedString(java.lang.String string)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

string

public java.lang.String string()
                        throws java.io.IOException
Throws:
java.io.IOException

readCompressedString

public static CompressedString readCompressedString(StreamInput in)
                                             throws java.io.IOException,
                                                    java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

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