org.apache.blur.lucene.serializer
Class SerializerUtil

java.lang.Object
  extended by org.apache.blur.lucene.serializer.SerializerUtil

public class SerializerUtil
extends Object


Constructor Summary
SerializerUtil()
           
 
Method Summary
static org.apache.lucene.util.BytesRef readBytesRef(DataInput in)
           
static String readString(DataInput in)
           
static void writeBytesRef(org.apache.lucene.util.BytesRef bytes, DataOutput out)
           
static void writeString(String s, DataOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializerUtil

public SerializerUtil()
Method Detail

writeString

public static void writeString(String s,
                               DataOutput out)
                        throws IOException
Throws:
IOException

writeBytesRef

public static void writeBytesRef(org.apache.lucene.util.BytesRef bytes,
                                 DataOutput out)
                          throws IOException
Throws:
IOException

readString

public static String readString(DataInput in)
                         throws IOException
Throws:
IOException

readBytesRef

public static org.apache.lucene.util.BytesRef readBytesRef(DataInput in)
                                                    throws IOException
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.