static final class Platform.Linux extends Platform.Supported
Platform
subclass representing the Linux operating system.Platform.CPU, Platform.Linux, Platform.OS
libPattern
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, longSize
public java.lang.String locateLibrary(java.lang.String libName, java.util.List<java.lang.String> libraryPaths)
Platform
locateLibrary
in class Platform
libName
- 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)
Platform
mapLibraryName
in class Platform
libName
- The library name to map