|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.util.SerializationUtils
public class SerializationUtils
This set of utility class will help us out with various types of serialization tasks..
Method Summary | |
---|---|
static java.lang.Object |
fromByteArray(byte[] b) |
static java.lang.Object |
fromByteArray(byte[] b, boolean compress) |
static java.lang.Object |
fromString(java.lang.String s) |
static java.lang.Object |
fromString(java.lang.String s, boolean compress) Transcodes a Base64 encoded string (i.e. |
static java.lang.Object |
fromURLEncodedString(java.lang.String s) |
static java.lang.Object |
fromURLEncodedString(java.lang.String s, boolean compress) |
static byte[] |
toByteArray(java.io.Serializable s) |
static byte[] |
toByteArray(java.io.Serializable s, boolean compress) |
static java.lang.String |
toString(java.io.Serializable o) |
static java.lang.String |
toString(java.io.Serializable o, boolean compress) Transcodes a serializable object into a Base64 encoded string. |
static java.lang.String |
toURLEncodedString(java.io.Serializable o) |
static java.lang.String |
toURLEncodedString(java.io.Serializable o, boolean compress) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String toString(java.io.Serializable o) throws java.io.IOException, javax.mail.MessagingException
java.io.IOException
javax.mail.MessagingException
public static java.lang.String toURLEncodedString(java.io.Serializable o) throws java.io.IOException
java.io.IOException
public static java.lang.String toURLEncodedString(java.io.Serializable o, boolean compress) throws java.io.IOException
java.io.IOException
public static java.lang.Object fromURLEncodedString(java.lang.String s) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static java.lang.Object fromURLEncodedString(java.lang.String s, boolean compress) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static java.lang.String toString(java.io.Serializable o, boolean compress) throws java.io.IOException
o
- the object to be serializedjava.io.IOException
public static java.lang.Object fromString(java.lang.String s) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static java.lang.Object fromString(java.lang.String s, boolean compress) throws java.io.IOException, java.lang.ClassNotFoundException
toString(Serializable)
) into an object.s
- the encoded Stringjava.io.IOException
java.lang.ClassNotFoundException
public static byte[] toByteArray(java.io.Serializable s) throws java.io.IOException
java.io.IOException
public static byte[] toByteArray(java.io.Serializable s, boolean compress) throws java.io.IOException
java.io.IOException
public static java.lang.Object fromByteArray(byte[] b) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static java.lang.Object fromByteArray(byte[] b, boolean compress) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |