/** * Serializes an object and returns the Base64-encoded version of that * serialized object. If the object cannot be serialized or there is another * error, the method will return <tt>null</tt>. The object is not * GZip-compressed before being encoded. * * @param serializableObject The object to encode * @return The Base64-encoded object * @since 1.4 */ public static String encodeObject(Serializable serializableObject) { return encodeObject(serializableObject, NO_OPTIONS); } // end encodeObject
/** * Serializes an object and returns the Base64-encoded version of that * serialized object. If the object cannot be serialized or there is another * error, the method will return <tt>null</tt>. The object is not * GZip-compressed before being encoded. * * @param serializableObject The object to encode * @return The Base64-encoded object * @since 1.4 */ public static String encodeObject(Serializable serializableObject) { return encodeObject(serializableObject, NO_OPTIONS); } // end encodeObject
/** * Serializes an object and returns the Base64-encoded version of that * serialized object. If the object cannot be serialized or there is another * error, the method will return <tt>null</tt>. The object is not * GZip-compressed before being encoded. * * @param serializableObject The object to encode * @return The Base64-encoded object * @since 1.4 */ public static String encodeObject(Serializable serializableObject) { return encodeObject(serializableObject, NO_OPTIONS); } // end encodeObject