com.hazelcast.nio
Class UTFEncoderDecoder

java.lang.Object
  extended by com.hazelcast.nio.UTFEncoderDecoder

public final class UTFEncoderDecoder
extends Object

Class to encode/decode UTF-Strings to and from byte-arrays.


Method Summary
 boolean isHazelcastEnterpriseActive()
           
static String readUTF(DataInput in, byte[] buffer)
           
 String readUTF0(DataInput in, byte[] buffer)
           
static void writeUTF(DataOutput out, String str, byte[] buffer)
           
 void writeUTF0(DataOutput out, String str, byte[] buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isHazelcastEnterpriseActive

public boolean isHazelcastEnterpriseActive()

writeUTF

public static void writeUTF(DataOutput out,
                            String str,
                            byte[] buffer)
                     throws IOException
Throws:
IOException

readUTF

public static String readUTF(DataInput in,
                             byte[] buffer)
                      throws IOException
Throws:
IOException

writeUTF0

public void writeUTF0(DataOutput out,
                      String str,
                      byte[] buffer)
               throws IOException
Throws:
IOException

readUTF0

public String readUTF0(DataInput in,
                       byte[] buffer)
                throws IOException
Throws:
IOException


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.