Here you can find the source of base64decode(String strMi)
public static String base64decode(String strMi)
//package com.java2s; //License from project: Open Source License import java.io.IOException; import sun.misc.BASE64Decoder; public class Main { public static String base64decode(String strMi) { BASE64Decoder base64de = new BASE64Decoder(); try {/*from w ww .ja va 2s.com*/ return new String(base64de.decodeBuffer(strMi)); } catch (IOException e) { e.printStackTrace(); System.err.println("Cannot decode " + strMi); return ""; } } }