/* */ try
/* */ {
/* 221 */ String contentType = MimeUtils.resolveMimeType(javaType);
/* 222 */ log.debug("Adopt DataHandler to " + javaType + ", contentType " + contentType);
/* */
/* 224 */ DataSource ds = new SwapableMemoryDataSource(((DataHandler)obj).getInputStream(), contentType);
/* 225 */ DataHandler dh = new DataHandler(ds);
/* 226 */ obj = dh.getContent();
/* */
/* 229 */ if ((obj instanceof InputStream))
/* */ {