|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.deploymentadmin.AbstractInfo
public class AbstractInfo
Objects of this class represent the meta data for a resource from a deployment package, this can be either bundle resources or processed resources.
Constructor Summary | |
---|---|
AbstractInfo(String path,
Attributes attributes)
Create an instance |
Method Summary | |
---|---|
String |
getHeader(String header)
Return the value of a header for this resource |
String |
getPath()
|
boolean |
isMissing()
Determine if a resource is missing or not |
protected boolean |
parseBooleanHeader(Attributes attributes,
String header)
Parses a header that is allowed to have only boolean values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractInfo(String path, Attributes attributes) throws DeploymentException
path
- Resource-id aka path of the resourceattributes
- Attributes containing the meta data of the resource
DeploymentException
- If the specified attributes do not match the correct syntax for a deployment package resource.Method Detail |
---|
public String getPath()
public String getHeader(String header)
header
- Name of the header
public boolean isMissing()
protected boolean parseBooleanHeader(Attributes attributes, String header) throws DeploymentException
attributes
- Set of attributes containing the headerheader
- The header to verify
DeploymentException
- if the value was not "true" or "false"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |