org.springframework.data.keyvalue.redis.connection.util
Class DecodeUtils
java.lang.Object
org.springframework.data.keyvalue.redis.connection.util.DecodeUtils
public abstract class DecodeUtils
- extends Object
Simple class containing various decoding utilities.
- Author:
- Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecodeUtils
public DecodeUtils()
decode
public static String decode(byte[] bytes)
decodeMultiple
public static String[] decodeMultiple(byte[]... bytes)
encode
public static byte[] encode(String string)
encodeMap
public static Map<byte[],byte[]> encodeMap(Map<String,byte[]> map)
decodeMap
public static Map<String,byte[]> decodeMap(Map<byte[],byte[]> tuple)
convertToSet
public static Set<byte[]> convertToSet(Collection<String> keys)
convertToList
public static List<byte[]> convertToList(Collection<String> keys)
Copyright © 2010-2011 SpringSource. All Rights Reserved.