Java Jar Manifest getManifest(File jarFile)

Here you can find the source of getManifest(File jarFile)

Description

get Manifest

License

LGPL

Declaration

public static Manifest getManifest(File jarFile) throws IOException 

Method Source Code

//package com.java2s;
/*/*from w w w  . ja  va2s  .c o m*/
 * JFox - The most lightweight Java EE Application Server!
 * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
 *
 * JFox is licenced and re-distributable under GNU LGPL.
 */

import java.io.File;

import java.io.IOException;

import java.util.jar.JarFile;

import java.util.jar.Manifest;

public class Main {
    public static Manifest getManifest(File jarFile) throws IOException {
        return new JarFile(jarFile).getManifest();
    }
}

Related

  1. getMainAttributeValue(Manifest manifest, String attribute)
  2. getManifest()
  3. getManifest()
  4. getManifest(File file)
  5. getManifest(File in)
  6. getManifest(File pluginFile)
  7. getManifest(final String jarFileName)
  8. getManifest(JarFile pluginJarFile)
  9. getManifest(String className)