Java Base64 Decode base64Decode(String s)

Here you can find the source of base64Decode(String s)

Description

base Decode

License

Apache License

Declaration

public static String base64Decode(String s) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.io.IOException;

import sun.misc.BASE64Decoder;

public class Main {
    public static String base64Decode(String s) {
        try {/*from  ww  w .  jav  a2 s . co m*/
            return new String(new BASE64Decoder().decodeBuffer(s));
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}

Related

  1. base64Decode(String base64Str)
  2. base64Decode(String data)
  3. base64Decode(String input)
  4. base64Decode(String s)
  5. base64decode(String s)
  6. base64Decode(String s)
  7. Base64Decode(String str)
  8. base64Decode(String str)
  9. base64decode(String str)