Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.client.jaxrs.util
Class Base64

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.util.Base64

public class Base64
extends Object

Base64 MIME content transfer encoding.

See Also:
http://en.wikipedia.org/wiki/Base64

Constructor Summary
Base64()
           
 
Method Summary
static String encode(byte[] arr)
           
static String encode(int[] arr, int byteLen)
          Convert an array of big-endian words to a base-64 string
static String encode(String value)
           
static byte[] stringToBytes(String msg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64

public Base64()
Method Detail

encode

public static String encode(int[] arr,
                            int byteLen)
Convert an array of big-endian words to a base-64 string


encode

public static String encode(String value)

encode

public static String encode(byte[] arr)

stringToBytes

public static byte[] stringToBytes(String msg)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.