public void addParameter(final String parameterName,final File parameterFile) throws FileNotFoundException {
  LOG.trace("enter MultipartPostMethod.addParameter(String parameterName, " + "File parameterFile)");
  final Part param=new FilePart(parameterName,parameterFile);
  parameters.add(param);
}

public void addParameter ( final String parameterName , final File parameterFile ) throws FileNotFoundException { LOG . trace ( "enter MultipartPostMethod.addParameter(String parameterName, " + "File parameterFile)" ) ; final Part param = new FilePart ( parameterName , parameterFile ) ; parameters . add ( param ) ; }
adds a binary file part
