Here you can find the source of toBase10(String base64)
public static String toBase10(String base64)
//package com.java2s; //License from project: Open Source License import javax.xml.bind.DatatypeConverter; public class Main { public static String toBase10(String base64) { return new String(DatatypeConverter.parseBase64Binary(base64.trim() .substring("Basic ".length()).trim())); }//from w ww. ja va2 s. c o m }