|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.Base64
public class Base64
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)
|
static void |
releaseDeflater(java.util.zip.Deflater def)
Return the shared Deflater to the cache. |
static void |
releaseInflater(java.util.zip.Inflater inf)
Return the shared Inflater to the cache. |
static java.util.zip.Deflater |
useDeflater()
Share the cached Deflater with other Base64 users. |
static java.util.zip.Inflater |
useInflater()
Share the cached Inflater with other Base64 users. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64()
Method Detail |
---|
public static java.io.OutputStream getOutputStream(int size)
public static java.io.InputStream getInputStream(java.lang.String encodedString)
public static java.util.zip.Deflater useDeflater()
public static void releaseDeflater(java.util.zip.Deflater def)
public static java.util.zip.Inflater useInflater()
public static void releaseInflater(java.util.zip.Inflater inf)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |