Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.javatools.codeex
Class Base64

java.lang.Object
  extended by oracle.javatools.codeex.Base64

public class Base64
extends java.lang.Object


Constructor Summary
Base64()
           
 
Method Summary
static byte[] base64Decode(java.lang.String string)
          Decodes the supplied base 64 encoded string into its original byte array, using the standard base 64 decoding algorithm.
static java.lang.String base64Encode(byte[] bytes)
          Base64 encodes the supplied bytes array, using the standard base 64 encoding algorithm.
 
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

base64Encode

public static java.lang.String base64Encode(byte[] bytes)
Base64 encodes the supplied bytes array, using the standard base 64 encoding algorithm.

Parameters:
bytes - The byte array to encode
Returns:
The base 64 encoded string representing the byte array

base64Decode

public static byte[] base64Decode(java.lang.String string)
Decodes the supplied base 64 encoded string into its original byte array, using the standard base 64 decoding algorithm.

Parameters:
string - The base 64 encoded string to decode
Returns:
The decoded byte array

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.