|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.swissbox.tinybundles.dp.intern.TinyDPImpl
public class TinyDPImpl
Implementation that also allows Fix-Packs (See Constructors)
| Constructor Summary | |
|---|---|
TinyDPImpl(DPBuilder builder,
InputStream parent,
Bucket bucket,
org.ops4j.store.Store<InputStream> cache)
|
|
| Method Summary | |
|---|---|
InputStream |
build()
|
TinyDP |
remove(String s)
|
TinyDP |
set(String key,
String value)
Meta Data that will appear in the Main Section of this DP Meta Inf Manifest |
TinyDP |
setBundle(String name,
InputStream inp)
the very basic way to add a bundle. |
TinyDP |
setBundle(String name,
String inp)
convenient adapter for setBundle(String,InputStream) |
TinyDP |
setBundle(String s,
TinyBundle bundle)
convinient adapter for setBundle(String,InputStream) |
TinyDP |
setResource(String name,
InputStream inp)
|
TinyDP |
setResource(String name,
String url)
|
TinyDP |
setSymbolicName(String value)
Shortcut for set( Constants.DEPLOYMENTPACKAGE_SYMBOLICMAME, value ) |
TinyDP |
setVersion(String value)
Shortcut for set( Constants.DEPLOYMENTPACKAGE_VERSION, value ) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TinyDPImpl(DPBuilder builder,
InputStream parent,
Bucket bucket,
org.ops4j.store.Store<InputStream> cache)
| Method Detail |
|---|
public TinyDP setBundle(String s,
TinyBundle bundle)
throws IOException
TinyDP
setBundle in interface TinyDPs - identifier of Name parameter in DP manifestbundle - content of this resource
IOException - in case of an IO error when processing inp
public TinyDP setBundle(String name,
String inp)
throws IOException
TinyDP
setBundle in interface TinyDPname - identifier of Name parameter in DP manifestinp - content of this resource
IOException - if something goes wrong while interpreting the url
public TinyDP setBundle(String name,
InputStream inp)
throws IOException
TinyDP
setBundle in interface TinyDPname - identifier of Name parameter in DP manifestinp - content of this resource
IOException - in case of an IO error when processing inp
public TinyDP setResource(String name,
InputStream inp)
throws IOException
setResource in interface TinyDPIOException
public TinyDP setResource(String name,
String url)
throws IOException
setResource in interface TinyDPIOException
public TinyDP set(String key,
String value)
TinyDP
set in interface TinyDPkey - to be usedvalue - to be used
public TinyDP setSymbolicName(String value)
TinyDP
setSymbolicName in interface TinyDPvalue - to be used
public TinyDP setVersion(String value)
TinyDP
setVersion in interface TinyDPvalue - to be used
public TinyDP remove(String s)
remove in interface TinyDP
public InputStream build()
throws IOException
build in interface TinyDPIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||