{
formField = new FormField(fileItem.getString());
}
else
{
InputStreamFactory inFactory = new SimpleInputStreamFactory(fileItem.getInputStream());
formField = new FormField(fileItem.getName(), fileItem.getContentType(), fileItem.getSize(), inFactory);
}
map.put(fileItem.getFieldName(), formField);
}
return map;