Here you can find the source of base64Decode(final String text)
static byte[] base64Decode(final String text)
//package com.java2s; import org.apache.commons.codec.binary.Base64; public class Main { static byte[] base64Decode(final String text) { byte[] res = null; try {/* w w w . j a va 2 s .co m*/ res = Base64.decodeBase64(text.getBytes()); } catch (Exception e) { e.printStackTrace(); } return res; } }