org.elasticsearch.util.io.compression
Class CompressedString
java.lang.Object
org.elasticsearch.util.io.compression.CompressedString
- All Implemented Interfaces:
- Streamable
public class CompressedString
- extends java.lang.Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressedString
public CompressedString(java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
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