if(contentDisposition != null && contentDisposition.size() > 0){
try {
ContentDisposition disp = new ContentDisposition(contentDisposition.get(0));
if(disp.getParameter("name") != null && disp.getParameter("name").equals(propertyName)){
if(clazz.isAssignableFrom(DataHandler.class))
return new DataHandler(new MimePartDataSource(new MimeBodyPart(mimePart.read())));
else if(clazz.isAssignableFrom(javax.xml.transform.Source.class))
return new StreamSource(mimePart.read());
}
} catch (Exception e) {
if(this.traceEnabled){