Serializes an object and returns the Base64-encoded version of that serialized object. As of v 2.3, if the object cannot be serialized or there is another error, the method will throw an java.io.IOException. This is new to v2.3! In earlier versions, it just returned a null value, but in r
( java.io.Serializable serializableObject )
| 604 | * @since 1.4 |
| 605 | */ |
| 606 | public static String encodeObject( java.io.Serializable serializableObject ) |
| 607 | throws java.io.IOException { |
| 608 | return encodeObject( serializableObject, NO_OPTIONS ); |
| 609 | } // end encodeObject |
| 610 | |
| 611 | |
| 612 |