|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.bundlerepository.impl.wrapper.ConvertedResource
public class ConvertedResource
| Field Summary |
|---|
| Fields inherited from interface org.apache.felix.bundlerepository.Resource |
|---|
CATEGORY, COPYRIGHT, DESCRIPTION, DOCUMENTATION_URI, ID, JAVADOC_URI, LICENSE_URI, MANIFEST_VERSION, PRESENTATION_NAME, SIZE, SOURCE_URI, SYMBOLIC_NAME, URI, VERSION |
| Constructor Summary | |
|---|---|
ConvertedResource(org.osgi.service.obr.Resource resource)
|
|
| Method Summary | |
|---|---|
Capability[] |
getCapabilities()
Retrieve the capabilities |
java.lang.String[] |
getCategories()
Retrieve this resource categories |
java.lang.String |
getId()
Shortcut for {{getProperties().get(ID)}} |
java.lang.String |
getPresentationName()
Shortcut for {{getProperties().get(PRESENTATION_NAME)}} |
java.util.Map |
getProperties()
Get all resource properties |
Requirement[] |
getRequirements()
Retrieve the requirements |
java.lang.Long |
getSize()
Shortcut for {{getProperties().get(SIZE)}} |
java.lang.String |
getSymbolicName()
Shortcut for {{getProperties().get(SYMBOLIC_NAME)}} |
java.lang.String |
getURI()
Shortcut for {{getProperties().get(URI)}} |
org.osgi.framework.Version |
getVersion()
Shortcut for {{getProperties().get(VERSION)}} |
boolean |
isLocal()
Returns whether this resource is a local one or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConvertedResource(org.osgi.service.obr.Resource resource)
| Method Detail |
|---|
public Capability[] getCapabilities()
Resource
getCapabilities in interface Resourcepublic Requirement[] getRequirements()
Resource
getRequirements in interface Resourcepublic java.lang.String[] getCategories()
Resource
getCategories in interface Resourcepublic java.lang.String getId()
Resource
getId in interface Resourcepublic java.lang.String getPresentationName()
Resource
getPresentationName in interface Resourcepublic java.util.Map getProperties()
Resource
getProperties in interface Resourcepublic java.lang.Long getSize()
Resource
getSize in interface Resourcepublic java.lang.String getSymbolicName()
Resource
getSymbolicName in interface Resourcepublic java.lang.String getURI()
Resource
getURI in interface Resourcepublic org.osgi.framework.Version getVersion()
Resource
getVersion in interface Resourcepublic boolean isLocal()
Resource
isLocal in interface Resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||