public class BundleAwareJarFileResourceStore extends JarFileResourceStore
Constructor and Description |
---|
BundleAwareJarFileResourceStore(java.util.jar.JarFile source,
java.io.File target,
org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
byte[] |
read(java.lang.String path) |
accept, close, open, setClassLoader, setManifest, setManifestBuilder, setResourceMapper, toByteArray, write, writeMetadata
public BundleAwareJarFileResourceStore(java.util.jar.JarFile source, java.io.File target, org.osgi.framework.BundleContext bundleContext) throws java.io.IOException
source
- original Bundletarget
- File where the updated Bundle will be outputtedjava.io.IOException
- if there is an error retrieving the Manifest from the original JarFilepublic byte[] read(java.lang.String path) throws java.io.IOException
read
in interface ResourceStore
read
in class JarFileResourceStore
java.io.IOException
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.