Code example for JarOutputStream

Methods: close

0
      File jarFile = new File(destination, jarName);
      if (debug > 0)
      { 
        System.out.println("Writing " + jarFile.getAbsolutePath());
      } 
      jos = new JarOutputStream(new FileOutputStream(jarFile));
      writeJAREntries(jos, pluginFolder, 0);
    } 
    finally 
    { 
      if (jos != null)
        try 
      { 
          jos.close();
      } 
      catch (IOException e)
      { 
      } 
    } 
  } 
Stop searching for code, let great code find you!  Add Codota to your java IDE