Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


oracle.jbo.common
Class Base64

java.lang.Object
  extended byoracle.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 Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


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