Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

oracle.jbo.common
Class Base64

java.lang.Object
  extended by oracle.jbo.common.Base64

public class Base64
extends java.lang.Object

Helper class to handle the task of making a serialized byte[] blob into a string (by overriding toString) on the OutputStream and unmaking the string back to byte[] so the objects can be read back in. It was taken (almost unchanged) from java.util.prefs.Base64 (where it's non-public). Base64 encoding is about 2/3 the size of the equivalent hexified string.


Constructor Summary
Base64()
           
 
Method Summary
static java.io.InputStream getInputStream(java.lang.String encodedString)
           
static java.io.OutputStream getOutputStream(int size)
           
 
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

getOutputStream

public static java.io.OutputStream getOutputStream(int size)

getInputStream

public static java.io.InputStream getInputStream(java.lang.String encodedString)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

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