public static String serialize ( Serializable o ) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ; serialize ( o , baos ) ; return Base64Coder . encode ( baos . toByteArray ( ) ) ; }
serialize a Java Object of Type Serializable