public class OSGiResourceHelper
extends java.lang.Object
Constructor and Description |
---|
OSGiResourceHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getContentAttribute(org.osgi.resource.Resource resource) |
static java.lang.Object |
getContentAttribute(org.osgi.resource.Resource resource,
java.lang.String name) |
static java.lang.Object |
getIdentityAttribute(org.osgi.resource.Resource resource,
java.lang.String name) |
static org.osgi.resource.Resource |
getResource(org.osgi.resource.Requirement requirement,
org.osgi.service.repository.Repository repository) |
static java.lang.String |
getSymbolicNameAttribute(org.osgi.resource.Resource resource) |
static java.lang.String |
getTypeAttribute(org.osgi.resource.Resource resource) |
static org.osgi.framework.Version |
getVersionAttribute(org.osgi.resource.Resource resource) |
static boolean |
matches(org.osgi.resource.Requirement requirement,
org.osgi.resource.Capability capability) |
public static java.lang.String getContentAttribute(org.osgi.resource.Resource resource)
public static java.lang.Object getContentAttribute(org.osgi.resource.Resource resource, java.lang.String name)
public static java.lang.Object getIdentityAttribute(org.osgi.resource.Resource resource, java.lang.String name)
public static org.osgi.resource.Resource getResource(org.osgi.resource.Requirement requirement, org.osgi.service.repository.Repository repository)
public static java.lang.String getSymbolicNameAttribute(org.osgi.resource.Resource resource)
public static java.lang.String getTypeAttribute(org.osgi.resource.Resource resource)
public static org.osgi.framework.Version getVersionAttribute(org.osgi.resource.Resource resource)
public static boolean matches(org.osgi.resource.Requirement requirement, org.osgi.resource.Capability capability)
Copyright © 2006-2017 The Apache Software Foundation. All Rights Reserved.