Package redis.clients.jedis.util
Class SafeEncoder
- java.lang.Object
-
- redis.clients.jedis.util.SafeEncoder
-
public final class SafeEncoder extends Object
The only reason to have this is to be able to compatible with java 1.5 :(
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
encode(byte[] data)
static byte[]
encode(String str)
static byte[][]
encodeMany(String... strs)
static Object
encodeObject(Object dataToEncode)
This method takes an object and will convert all bytes[] and list of byte[] and will encode the object in a recursive way.
-