Java XML Base64 Encode Decode base64en(String string)

Here you can find the source of base64en(String string)

Description

baseen

License

Creative Commons License

Declaration

public static String base64en(String string) 

Method Source Code

//package com.java2s;
// The license under which this software is released can be accessed at:

import javax.xml.bind.DatatypeConverter;

public class Main {
    public static String base64en(String string) {
        return DatatypeConverter.printBase64Binary(string.getBytes());
    }//w  w w .  j a va 2  s .  c o m
}

Related

  1. base64(final byte[] bytes)
  2. base64(final byte[] bytes)
  3. base64Decode(String base64)
  4. base64decode(String base64Content)
  5. base64Decode(String property)
  6. base64Encode(byte[] bytes)
  7. base64Encode(byte[] bytes)
  8. base64Encode(byte[] bytes)
  9. base64encode(byte[] bytes, boolean pad)