Skip navigation links


com.essbase.eas.utils
Class Base64

java.lang.Object
  extended by com.essbase.eas.utils.Base64


public class Base64
extends java.lang.Object

Constructor Summary
Base64()
           

 

Method Summary
static byte[] decode(java.lang.String data)
          Decode an input String using Base64
static java.lang.String encode(byte[] data)
          Encode an array of bytes using Base64
static void main(java.lang.String[] args)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Base64

public Base64()

Method Detail

encode

public static java.lang.String encode(byte[] data)
Encode an array of bytes using Base64
Parameters:
data - The bytes to be encoded
Returns:
A valid Base64 representation of the input

decode

public static byte[] decode(java.lang.String data)
Decode an input String using Base64
Parameters:
data - The String to be decoded
Returns:
The appropriate byte array

main

public static void main(java.lang.String[] args)
Parameters:
args -

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.