Package aQute.bnd.osgi
Class OSInformation
java.lang.Object
aQute.bnd.osgi.OSInformation
OS specific information, used by the native_capability macro for
osgi.native.* bundle properties.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstruct OS specific informationOSInformation
(String sysPropOsName, String sysPropOsVersion) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getNativeCapabilityClause
(Processor p, String[] args) Helper for the Processor._native_capability macrostatic OSInformation.OSNameVersion
getOperatingSystemAliases
(String sysPropOsName, String sysPropOsVersion) static String[]
static String[]
getProcessorAliases
(String osArch)
-
Constructor Details
-
OSInformation
Construct OS specific information- Throws:
IllegalArgumentException
-
OSInformation
- Throws:
IllegalArgumentException
-
-
Method Details
-
getProcessorAliases
-
getProcessorAliases
-
getNativeCapabilityClause
Helper for the Processor._native_capability macro- Parameters:
args
- the arguments of the macro- Returns:
- a provide capability clause for the native environment
- Throws:
Exception
-
getOperatingSystemAliases
public static OSInformation.OSNameVersion getOperatingSystemAliases(String sysPropOsName, String sysPropOsVersion)
-