common/src/main/java/HTTPClient/Codecs.java
/**
     * This method decodes a multipart/form-data encoded string.
     *
     * @param     data        the form-data to decode.
     * @param     cont_type   the content type header (must contain the
     *			      boundary string).
     * @param     dir         the directory to create the files in.
     * @return                an array of name/value pairs, one for each part;
     *                        the name is the 'name' attribute given in the
     *                        Content-Disposition header; the value is either
     *                        the name of the file if a filename attribute was
     *                        found, or the contents of the part.
     * @exception IOException If any file operation fails.
     * @exception ParseException If an error during parsing occurs.
     * @see #mpFormDataDecode(byte[], java.lang.String, java.lang.String, HTTPClient.FilenameMangler)
     */
This method decodes a multipart/form-data encoded string.
@param     data        the form-data to decode.
@param     cont_type   the content type header (must contain the
boundary string).
@param     dir         the directory to create the files in.
@return                an array of name/value pairs, one for each part;
the name is the 'name' attribute given in the
Content-Disposition header; the value is either
the name of the file if a filename attribute was
found, or the contents of the part.
@exception IOException If any file operation fails.
@exception ParseException If an error during parsing occurs.
This method decodes a multipart / form - data encoded string . @param data the form - data to decode . @param cont_type the content type header ( must contain the boundary string ) . @param dir the directory to create the files in . @return an array of name / value pairs one for each part ; the name is the ' name ' attribute given in the Content - Disposition header ; the value is either the name of the file if a filename attribute was found or the contents of the part . @exception IOException If any file operation fails . @exception ParseException If an error during parsing occurs .
public final static NVPair[] mpFormDataDecode(byte[] data, String cont_type,
						  String dir)
	    throws IOException, ParseException
    {
	return mpFormDataDecode(data, cont_type, dir, null);
    }
public final static NVPair [ ] mpFormDataDecode ( byte [ ] data , String cont_type , String dir ) throws IOException , ParseException { return mpFormDataDecode ( data , cont_type , dir , null ) ; }
This method decodes a multipart/form-data encoded string.
This method decodes a multipart / form - data encoded string .