@Override
public void copyResourceFromJarFile(String jarFilename, String resourceName, String destinationFile)
throws ZipException, IOException
{
ZipFile appJar = new ZipFile(new File(jarFilename));
Enumeration<? extends ZipEntry> entries = appJar.entries();
while (entries.hasMoreElements())
{
ZipEntry entry = entries.nextElement();
String entryName = entry.getName();
if (entryName.endsWith(resourceName))