All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.util.SafeEncoder Maven / Gradle / Ivy

There is a newer version: 3.1.1
Show newest version
package redis.clients.util;

import java.io.UnsupportedEncodingException;

import redis.clients.jedis.Protocol;
import redis.clients.jedis.exceptions.JedisDataException;
import redis.clients.jedis.exceptions.JedisException;

/**
 * The only reason to have this is to be able to compatible with java 1.5 :(
 * 
 */
public class SafeEncoder {
	public static byte[][] encodeMany(final String... strs){
		byte[][] many = new byte[strs.length][];
		for(int i=0;i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy