Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.2.1.1)
E67111-01
 
- java.lang.Object
 
- 
- oracle.javatools.codeex.Base64
 
 
- 
- 
Constructor Summary
Constructors 
| Constructor and Description | 
Base64()  | 
 
- 
Method Summary
All Methods Static Methods Concrete Methods 
| Modifier and Type | 
Method and Description | 
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 
 
 
 
- 
- 
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
12c (12.2.1.1)
E67111-01
 
Copyright © 1997, 2016, Oracle. All rights reserved.