Here you can find the source of base64Decode(String str)
public static byte[] base64Decode(String str)
//package com.java2s; //License from project: Open Source License import java.io.IOException; public class Main { public static byte[] base64Decode(String str) { byte[] bt = null; try {//from w ww.j av a 2 s . c o m sun.misc.BASE64Decoder decoder = new sun.misc.BASE64Decoder(); bt = decoder.decodeBuffer(str); } catch (IOException e) { e.printStackTrace(); } return bt; } }