|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.aries.application.modelling.internal.BundleBlueprintParser
public class BundleBlueprintParser
A bundle may contain a Bundle-Blueprint: header as per p649 of the v4 spec. If present, this denotes where to look for blueprint xml files. We could use Bundle.findEntries() to deal with the wildcards that the last entry in the list may contain, but our caller is introspecting .jar files within an EBA and does not have access to Bundle objects, so we need this extra support. Our caller needs to iterate over the files within a jar in each case asking this class, 'is this a blueprint file'?
Field Summary | |
---|---|
static String |
DEFAULT_HEADER
|
Constructor Summary | |
---|---|
BundleBlueprintParser()
Default constructor |
|
BundleBlueprintParser(org.apache.aries.util.manifest.BundleManifest bundleMf)
BundleBlueprintParser constructor |
|
BundleBlueprintParser(String bundleBPHeader)
BundleBlueprintParser alternative constructor |
Method Summary | |
---|---|
boolean |
isBPFile(String directory,
String filename)
Iterate through the list of valid file patterns. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_HEADER
Constructor Detail |
---|
public BundleBlueprintParser(org.apache.aries.util.manifest.BundleManifest bundleMf)
bundleMf
- BundleManifest to construct the parser frompublic BundleBlueprintParser(String bundleBPHeader)
bundleBPHeader
- Bundle-Blueprint header to construct the parser frompublic BundleBlueprintParser()
Method Detail |
---|
public boolean isBPFile(String directory, String filename)
directory
- Directory namefilename
- File name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |