Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.redis.connection.util
Class DecodeUtils

    java.lang.Object
      org.springframework.data.redis.connection.util.DecodeUtils

    public abstract class DecodeUtils

extends Object

Simple class containing various decoding utilities.

Constructor Summary
`DecodeUtils()`

Method Summary
`static List<byte[]>` | `convertToList(Collection<String> keys)`
`static Set<byte[]>` | `convertToSet(Collection<String> keys)`
`static String` | `decode(byte[] bytes)`
`static Map<String,byte[]>` | `decodeMap(Map<byte[],byte[]> tuple)`
`static String[]` | `decodeMultiple(byte[]... bytes)`
`static byte[]` | `encode(String string)`
`static Map<byte[],byte[]>` | `encodeMap(Map<String,byte[]> map)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DecodeUtils

    public DecodeUtils()

Method Detail

### 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD