title: Java parsing multipart/form-data from file
body: <p>My goal is to parse following multipart/form-data, stored in file. How can I do this ? I've found e.g. Apache Common FileUpload library but it only seems to support when fileupload is coming from httpservlet request.</p>
  
  <pre><code>--2cVU8PK7CHQWWSrkKrygDDisopnoT4CSwoz_b
  Content-Disposition: form-data; name="multipart.xml"
  Content-Type: application/xml; charset=UTF-8
  Content-Transfer-Encoding: binary
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xml&gt;
  &lt;data&gt;some data sent via post multipart&lt;/data&gt;
  &lt;/xml&gt;
  --2cVU8PK7CHQWWSrkKrygDDisopnoT4CSwoz_b--
  </code></pre>
  
  <p>Thanks,</p>