static final class Platform.Linux extends Platform.Supported
Platform subclass representing the Linux operating system.Platform.CPU, Platform.Linux, Platform.OSlibPattern| Constructor and Description |
|---|
Linux() |
| Modifier and Type | Method and Description |
|---|---|
private static int |
compareVersions(int[] version1,
int[] version2) |
java.lang.String |
locateLibrary(java.lang.String libName,
java.util.List<java.lang.String> libraryPaths)
Searches through a list of directories for a native library.
|
java.lang.String |
mapLibraryName(java.lang.String libName)
Maps from a generic library name (e.g.
|
addressSize, getCPU, getName, getNativePlatform, getOS, getPlatform, getStandardCLibraryName, isBSD, isUnix, longSizepublic java.lang.String locateLibrary(java.lang.String libName,
java.util.List<java.lang.String> libraryPaths)
PlatformlocateLibrary in class PlatformlibName - the base name (e.g. "c") of the library to locatelibraryPaths - the list of directories to searchprivate static int compareVersions(int[] version1,
int[] version2)
public java.lang.String mapLibraryName(java.lang.String libName)
PlatformmapLibraryName in class PlatformlibName - The library name to map