/** * 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 * @throws IOException if there is an IOException while serializing */ public static String encodeObject( java.io.Serializable serializableObject ) throws IOException { return encodeObject(serializableObject, NO_OPTIONS); }