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

com.cloudinary.utils.Base64Map Maven / Gradle / Ivy

Go to download

Cloudinary is a cloud service that offers a solution to a web application's entire image management pipeline. Upload images to the cloud. Automatically perform smart image resizing, cropping and conversion without installing any complex software. Integrate Facebook or Twitter profile image extraction in a snap, in any dimension and style to match your website’s graphics requirements. Images are seamlessly delivered through a fast CDN, and much much more. This Java library allows to easily integrate with Cloudinary in Java applications.

The newest version!
package com.cloudinary.utils;

import java.util.HashMap;
import java.util.Map;

public class Base64Map {
    public static Map values;

    static {
        values = new HashMap<>();
        values.put("000000", "A");
        values.put("000001", "B");
        values.put("000010", "C");
        values.put("000011", "D");
        values.put("000100", "E");
        values.put("000101", "F");
        values.put("000110", "G");
        values.put("000111", "H");
        values.put("001000", "I");
        values.put("001001", "J");
        values.put("001010", "K");
        values.put("001011", "L");
        values.put("001100", "M");
        values.put("001101", "N");
        values.put("001110", "O");
        values.put("001111", "P");
        values.put("010000", "Q");
        values.put("010001", "R");
        values.put("010010", "S");
        values.put("010011", "T");
        values.put("010100", "U");
        values.put("010101", "V");
        values.put("010110", "W");
        values.put("010111", "X");
        values.put("011000", "Y");
        values.put("011001", "Z");
        values.put("011010", "a");
        values.put("011011", "b");
        values.put("011100", "c");
        values.put("011101", "d");
        values.put("011110", "e");
        values.put("011111", "f");
        values.put("100000","g");
        values.put("100001","h");
        values.put("100010","i");
        values.put("100011","j");
        values.put("100100","k");
        values.put("100101","l");
        values.put("100110","m");
        values.put("100111","n");
        values.put("101000","o");
        values.put("101001","p");
        values.put("101010","q");
        values.put("101011","r");
        values.put("101100","s");
        values.put("101101","t");
        values.put("101110","u");
        values.put("101111","v");
        values.put("110000","w");
        values.put("110001","x");
        values.put("110010","y");
        values.put("110011","z");
        values.put("110100","0");
        values.put("110101","1");
        values.put("110110","2");
        values.put("110111","3");
        values.put("111000","4");
        values.put("111001","5");
        values.put("111010","6");
        values.put("111011","7");
        values.put("111100","8");
        values.put("111101","9");
        values.put("111110","+");
        values.put("111111","/");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy