redis.clients.util
Class SafeEncoder

java.lang.Object
  extended by redis.clients.util.SafeEncoder

public class SafeEncoder
extends Object

The only reason to have this is to be able to compatible with java 1.5 :(


Constructor Summary
SafeEncoder()
           
 
Method Summary
static String encode(byte[] data)
           
static byte[] encode(String str)
           
static byte[][] encodeMany(String... strs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SafeEncoder

public SafeEncoder()
Method Detail

encodeMany

public static byte[][] encodeMany(String... strs)

encode

public static byte[] encode(String str)

encode

public static String encode(byte[] data)


Copyright © 2012. All Rights Reserved.