Here you can find the source of urlSafeBase64Decode(String in)
static byte[] urlSafeBase64Decode(String in)
//package com.java2s; //License from project: Apache License import javax.xml.bind.DatatypeConverter; public class Main { static byte[] urlSafeBase64Decode(String in) { in = in.replace('-', '+'); in = in.replace('_', '/'); return DatatypeConverter.parseBase64Binary(in); }/* w ww .java 2 s. c om*/ }