Here you can find the source of base64Decode(String s)
public static String base64Decode(String s)
//package com.java2s; //License from project: Apache License import java.io.IOException; import sun.misc.BASE64Decoder; public class Main { public static String base64Decode(String s) { try {/*from ww w . jav a2 s . co m*/ return new String(new BASE64Decoder().decodeBuffer(s)); } catch (IOException e) { throw new RuntimeException(e); } } }