com.hazelcast.util
Class StringUtil

java.lang.Object
  extended by com.hazelcast.util.StringUtil

public final class StringUtil
extends Object

Utility class for Strings.


Method Summary
static String bytesToString(byte[] bytes)
           
static String bytesToString(byte[] bytes, int offset, int length)
           
static boolean isNullOrEmpty(String s)
           
static String lowerCaseInternal(String s)
          HC specific settings, operands etc.
static byte[] stringToBytes(String s)
           
static String upperCaseInternal(String s)
          HC specific settings, operands etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bytesToString

public static String bytesToString(byte[] bytes,
                                   int offset,
                                   int length)

bytesToString

public static String bytesToString(byte[] bytes)

stringToBytes

public static byte[] stringToBytes(String s)

isNullOrEmpty

public static boolean isNullOrEmpty(String s)

upperCaseInternal

public static String upperCaseInternal(String s)
HC specific settings, operands etc. use this method.


lowerCaseInternal

public static String lowerCaseInternal(String s)
HC specific settings, operands etc. use this method.



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