Cumulus4j API
(1.2.0)

org.cumulus4j.store.util
Class ManifestUtil

java.lang.Object
  extended by org.cumulus4j.store.util.ManifestUtil

public final class ManifestUtil
extends Object

Utility to read a MANIFEST.MF.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Method Summary
static Manifest readManifest(Class<?> clazz)
          Read the MANIFEST.MF of the JAR file containing the given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readManifest

public static Manifest readManifest(Class<?> clazz)
                             throws IOException
Read the MANIFEST.MF of the JAR file containing the given class.

Parameters:
clazz - a class located in the JAR whose MANIFEST.MF should be read.
Returns:
the manifest; never null.
Throws:
IOException - if reading the manifest fails.

Cumulus4j API
(1.2.0)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.