Java Base64 Decode base64decode(String strMi)

Here you can find the source of base64decode(String strMi)

Description

basedecode

License

Open Source License

Declaration

public static String base64decode(String strMi) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.io.IOException;
import sun.misc.BASE64Decoder;

public class Main {
    public static String base64decode(String strMi) {
        BASE64Decoder base64de = new BASE64Decoder();
        try {/*from  w ww .ja va  2s.com*/
            return new String(base64de.decodeBuffer(strMi));
        } catch (IOException e) {
            e.printStackTrace();
            System.err.println("Cannot decode " + strMi);
            return "";
        }
    }
}

Related

  1. base64Decode(String str)
  2. Base64Decode(String str)
  3. base64decode(String str)
  4. base64Decode(String string)
  5. base64decode(String string)
  6. base64decode(String text)
  7. base64decodebyte(String txt)
  8. base64Decoder(char[] src, int start)
  9. base64decodeString(String inputString)