code: public static void extract(final JarFile aJarFile, final String aFilePath, final File aDestDir)
              throws IOException {
          final Enumeration<JarEntry> entries = aJarFile.entries();
  
          try {
              while (entries.hasMoreElements()) {
                  final JarEntry entry = entries.nextElement();
                  final String entryName = entry.getName();
                  final File file = new File(aDestDir + File.separator + entryName);
  
                  if (entryName.equals(aFilePath)) {
                      final File parent = file.getParentFile();
  
                      if (!parent.exists() && !parent.mkdirs()) {
                          throw new IOException(LOGGER.getI18n(MessageCodes.UTIL_038, file));
                      }
  
                      final InputStream inputStream = aJarFile.getInputStream(entry);
                      final FileOutputStream outputStream = new FileOutputStream(file);
  
                      IOUtils.copyStream(inputStream, outputStream);
                      IOUtils.closeQuietly(inputStream);
                      IOUtils.closeQuietly(outputStream);
                  }
              }
          } finally {
              aJarFile.close();
          }
      }
docs: Extract a particular path from a supplied Jar file to a supplied {@link java.io.File} location.
  
  @param aJarFile A Jar file from which to extract
  @param aFilePath The Jar file path of the file to extract
  @param aDestDir The destination directory into which the file should be extracted
  @throws IOException If there is an exception thrown while reading or writing the file