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 java.lang.Object

Base64 MIME content transfer encoding.

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

Constructor Summary
Base64()
           
 
Method Summary
static java.lang.String encode(byte[] arr)
           
static java.lang.String encode(int[] arr, int byteLen)
          Convert an array of big-endian words to a base-64 string
static java.lang.String encode(java.lang.String value)
           
static byte[] stringToBytes(java.lang.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 java.lang.String encode(int[] arr,
                                      int byteLen)
Convert an array of big-endian words to a base-64 string


encode

public static java.lang.String encode(java.lang.String value)

encode

public static java.lang.String encode(byte[] arr)

stringToBytes

public static byte[] stringToBytes(java.lang.String msg)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.