|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.ipojo.parser.ManifestMetadataParser
public class ManifestMetadataParser
Manifest Metadata parser. Read a manifest file and construct metadata
| Constructor Summary | |
|---|---|
ManifestMetadataParser()
|
|
| Method Summary | |
|---|---|
org.apache.felix.ipojo.metadata.Element[] |
getComponentsMetadata()
Get the array of component type metadata. |
java.util.Dictionary[] |
getInstances()
Get the array of instance configuration described in the metadata. |
void |
parse(java.util.Dictionary dict)
Parse the given dictionary and create the instance managers. |
static org.apache.felix.ipojo.metadata.Element |
parse(java.lang.String metadata)
Parse the metadata from the string given in argument. |
void |
parseHeader(java.lang.String header)
Parse the given header and create the instance managers. |
static org.apache.felix.ipojo.metadata.Element |
parseHeaderMetadata(java.lang.String header)
Parse the metadata from the given header string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManifestMetadataParser()
| Method Detail |
|---|
public org.apache.felix.ipojo.metadata.Element[] getComponentsMetadata()
throws ParseException
ParseException - when a parsing error occurs
public java.util.Dictionary[] getInstances()
throws ParseException
ParseException - : if the metadata cannot be parsed successfully
public void parse(java.util.Dictionary dict)
throws ParseException
dict - : the given headers of the manifest file
ParseException - : if any error occurs
public void parseHeader(java.lang.String header)
throws ParseException
header - : the given header of the manifest file
ParseException - : if any error occurs
public static org.apache.felix.ipojo.metadata.Element parse(java.lang.String metadata)
throws ParseException
metadata - : the metadata to parse
ParseException - : if any error occurs
public static org.apache.felix.ipojo.metadata.Element parseHeaderMetadata(java.lang.String header)
throws ParseException
header - : the header to parse
ParseException - : if any error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||