org.fusesource.common.util
Class Manifests

java.lang.Object
  extended by org.fusesource.common.util.Manifests

public class Manifests
extends java.lang.Object


Constructor Summary
Manifests()
           
 
Method Summary
static java.util.jar.Manifest getManifest(java.io.File file)
          Returns the entry from the manifest for the given name
static java.lang.String getManifestEntry(java.io.File file, java.lang.String attributeName)
          Returns the entry from the manifest for the given name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manifests

public Manifests()
Method Detail

getManifestEntry

public static java.lang.String getManifestEntry(java.io.File file,
                                                java.lang.String attributeName)
                                         throws java.io.IOException
Returns the entry from the manifest for the given name

Throws:
java.io.IOException

getManifest

public static java.util.jar.Manifest getManifest(java.io.File file)
                                          throws java.io.IOException
Returns the entry from the manifest for the given name

Throws:
java.io.IOException


Copyright © 2014 Red Hat. All Rights Reserved.