| Package | Description |
|---|---|
| org.ops4j.pax.tinybundles.core |
Provides the classes necessary to create and modify OSGi bundles from java api.
|
| org.ops4j.pax.tinybundles.core.intern |
| Modifier and Type | Method and Description |
|---|---|
TinyBundle |
TinyBundle.add(Class<?> content)
Add a class to the current bundle.
|
TinyBundle |
TinyBundle.add(Class<?> content,
InnerClassStrategy strategy)
Add a class to the current bundle.
|
TinyBundle |
TinyBundle.add(String name,
InputStream content)
Add a resource to the current bundle (to be built).
|
TinyBundle |
TinyBundle.add(String name,
URL content)
Add a resource to the current bundle (to be built).
|
static TinyBundle |
TinyBundles.bundle()
#bundle(BuildableBundle, org.ops4j.store.Store) |
static TinyBundle |
TinyBundles.bundle(org.ops4j.store.Store<InputStream> store)
Start with a fresh bundle with this factory method.
|
TinyBundle |
TinyBundle.read(InputStream input)
Read an existing bundle or jar into Tinybundles for modification.
|
TinyBundle |
TinyBundle.read(InputStream input,
boolean readData)
Read an existing bundle or jar into Tinybundles for modification.
|
TinyBundle |
TinyBundle.remove(Class<?> content)
remove a class to the current bundle.
|
TinyBundle |
TinyBundle.removeHeader(String key)
Remove a previously added header.
|
TinyBundle |
TinyBundle.removeResource(String key)
Remove a previously added resource.
|
TinyBundle |
TinyBundle.set(String key,
String value)
Set header values that go into the Manifest.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TinyBundleImpl
Our default implementation of TinyBundle.
|
| Modifier and Type | Method and Description |
|---|---|
TinyBundle |
TinyBundleImpl.add(Class<?> clazz)
Add a class to the current bundle.
|
TinyBundle |
TinyBundleImpl.add(Class<?> clazz,
InnerClassStrategy strategy) |
TinyBundle |
TinyBundleImpl.add(String name,
InputStream content) |
TinyBundle |
TinyBundleImpl.add(String name,
URL url)
Add a resource to the current bundle (to be built).
|
TinyBundle |
TinyBundleImpl.read(InputStream in) |
TinyBundle |
TinyBundleImpl.read(InputStream in,
boolean readData)
Read an existing bundle or jar into Tinybundles for modification.
|
TinyBundle |
TinyBundleImpl.remove(Class<?> content)
remove a class to the current bundle.
|
TinyBundle |
TinyBundleImpl.removeHeader(String key) |
TinyBundle |
TinyBundleImpl.removeResource(String key) |
TinyBundle |
TinyBundleImpl.set(String key,
String value) |
Copyright © 2007–2014 OPS4J - Open Participation Software for Java. All rights reserved.