title: How to create 7z archive with no compression using java
body: <p>now we are using library zip4j to create archive with no compression:</p>
  
  <pre><code>ZipFile zipSoubor = new ZipFile("test.zip");
  </code></pre>
  
  <p>and when I want to stream I use:</p>
  
  <pre><code>zipSoubor.addStream(bis, getDefaultZipParameters());
  </code></pre>
  
  <p>and</p>
  
  <pre><code>private ZipParameters getDefaultZipParameters() {
      ZipParameters zipParametre = new ZipParameters();
      zipParametre.setCompressionMethod(Zip4jConstants.COMP_STORE);
      zipParametre.setSourceExternalStream(true);
      zipParametre.setEncryptFiles(true);
      zipParametre.setEncryptionMethod(Zip4jConstants.ENC_METHOD_AES);
      zipParametre.setAesKeyStrength(Zip4jConstants.AES_STRENGTH_256);
      zipParametre.setPassword(heslo);
  
      return zipParametre;
  }
  </code></pre>
  
  <p>problem is when I open this archive in mc (F3) I see type is zip. I need to create archive with type 7z. Is there some option how to create it in java ?</p>