org.jboss.ejb3.installer.manifest
Class ManifestEditor
java.lang.Object
org.jboss.ejb3.installer.manifest.ManifestEditor
public class ManifestEditor
- extends java.lang.Object
ManifestEditor
Configurable utility to alter the manifest of a given JAR
|
Method Summary |
void |
addEntriesToClassPath(java.util.Set<java.lang.String> entriesToAdd)
Adds the specified entries to the Class-Path of the manifest,
additionally creating "Class-Path" if it does not exist |
java.util.jar.Manifest |
getManifest()
|
void |
removeEntriesFromClassPath(java.util.Set<java.lang.String> entriesToRemove)
Removes, if they exist, attributes from a Class-Path entry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManifestEditor
public ManifestEditor(java.util.jar.JarFile jar)
addEntriesToClassPath
public void addEntriesToClassPath(java.util.Set<java.lang.String> entriesToAdd)
- Adds the specified entries to the Class-Path of the manifest,
additionally creating "Class-Path" if it does not exist
removeEntriesFromClassPath
public void removeEntriesFromClassPath(java.util.Set<java.lang.String> entriesToRemove)
- Removes, if they exist, attributes from a Class-Path entry
getManifest
public java.util.jar.Manifest getManifest()