title: representing curl command in java
body: <p>what is the Java equivalent of the following curl command:</p>
  
  <pre><code>curl -u &lt;username&gt;:&lt;password&gt; -F "access=@svnaccess.txt" https://svn.xxx-xxx.de/upload.cgi
  </code></pre>
  
  <p>i try to update the access rules of a svn repository by uploading a .txt file to this url.</p>
  
  <p>any help is much appreciated!</p>