Class ConvertedResource
java.lang.Object
org.apache.felix.bundlerepository.impl.wrapper.ConvertedResource
- All Implemented Interfaces:
Resource
-
Field Summary
Fields inherited from interface Resource
CATEGORY, COPYRIGHT, DESCRIPTION, DOCUMENTATION_URI, ID, JAVADOC_URI, LICENSE_URI, MANIFEST_VERSION, PRESENTATION_NAME, SIZE, SOURCE_URI, SYMBOLIC_NAME, URI, VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the capabilitiesString[]Retrieve this resource categoriesgetId()Shortcut for {{getProperties().get(ID)}}Shortcut for {{getProperties().get(PRESENTATION_NAME)}}Get all resource propertiesRetrieve the requirementsgetSize()Shortcut for {{getProperties().get(SIZE)}}Shortcut for {{getProperties().get(SYMBOLIC_NAME)}}getURI()Shortcut for {{getProperties().get(URI)}}org.osgi.framework.VersionShortcut for {{getProperties().get(VERSION)}}booleanisLocal()Returns whether this resource is a local one or not.
-
Constructor Details
-
ConvertedResource
public ConvertedResource(org.osgi.service.obr.Resource resource)
-
-
Method Details
-
getCapabilities
Description copied from interface:ResourceRetrieve the capabilities- Specified by:
getCapabilitiesin interfaceResource- Returns:
-
getRequirements
Description copied from interface:ResourceRetrieve the requirements- Specified by:
getRequirementsin interfaceResource- Returns:
-
getCategories
Description copied from interface:ResourceRetrieve this resource categories- Specified by:
getCategoriesin interfaceResource- Returns:
-
getId
-
getPresentationName
Description copied from interface:ResourceShortcut for {{getProperties().get(PRESENTATION_NAME)}}- Specified by:
getPresentationNamein interfaceResource- Returns:
-
getProperties
Description copied from interface:ResourceGet all resource properties- Specified by:
getPropertiesin interfaceResource- Returns:
-
getSize
-
getSymbolicName
Description copied from interface:ResourceShortcut for {{getProperties().get(SYMBOLIC_NAME)}}- Specified by:
getSymbolicNamein interfaceResource- Returns:
-
getURI
-
getVersion
public org.osgi.framework.Version getVersion()Description copied from interface:ResourceShortcut for {{getProperties().get(VERSION)}}- Specified by:
getVersionin interfaceResource- Returns:
-
isLocal
-