Tuesday, 3 September 2013

Decode Base64 url in Java

Decode Base64 url in Java

How can I decode Base64 url in Java?
I tried found smt into javadoc but couldn't find solution.
Do I need install any external -jars for this aim?
Snippet of code:
public static void main(String []args){
String url = "aHR0cDovL05jLmtwaS51YS9hdXR1bW4yMDEz";
String decodedUrl = Base64.decode(url);
System.out.println( decodedUrl );
return;
}
How to decode this url?

No comments:

Post a Comment