title: File object from Inputstream
body: <p>I'd like to apply zip4j in my android app. I put a demo zip file into the assets folder (<code>main/assets/test.zip</code>). I'd like to open it with zip4j:</p>
  
  <pre><code>import net.lingala.zip4j.core.ZipFile;
  ...
  ZipFile zipFile = new ZipFile(new File("an/absolute/path/is/required"));
  </code></pre>
  
  <p>However, the constructor required for applying zip4j requires a <code>String</code> object (the absolute path of the file) or a <code>File</code> object. But the AssetManger of Android only returns an <code>InputStream</code>. Also please not: The AssetManger does <em>not</em> provide an absolute path or something.</p>
  
  <p>So, what do I have to do in order to transform the input stream of <code>InputStream is = getResources().getAssets().open(filename);</code> into a <code>java.io.File</code> object which I then can apply to <code>ZipFile</code></p>