255256257258259260261262263264265
value = new Object[1]; } try { value[value.length - 1] = new FileDescriptor(disposition .getFileName(), new MimeType(mimeType), data); } catch (MimeTypeParseException e) { throw new IOException(e.toString()); } fields.put(name, value);