String currentParameterName = parameterNames[i];
Object[] objects = body.getParameterObjects(currentParameterName);
for (int j = 0; j < objects.length; j++) {
Object currentObject = objects[j];
if (currentObject instanceof FileDescriptor) {
FileDescriptor currentFileDescriptor = (FileDescriptor) currentObject;
result.put(getFileNameFromPath(currentFileDescriptor
.getFileName()), new TypedContent(
currentFileDescriptor.getMimeType(),
currentFileDescriptor.getData()));
}
}
/*
* String[] fileNames = body.getFileNames(currentParameterName); if
* ((fileNames != null) && (fileNames.length > 0)) { MimeType[]