Package jnr.ffi
Class Platform.IbmI
- java.lang.Object
-
- jnr.ffi.Platform
-
- jnr.ffi.Platform.Supported
-
- jnr.ffi.Platform.IbmI
-
- Enclosing class:
- Platform
static final class Platform.IbmI extends Platform.Supported
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jnr.ffi.Platform
Platform.CPU, Platform.IbmI, Platform.Linux, Platform.OS
-
-
Field Summary
-
Fields inherited from class jnr.ffi.Platform
libPattern
-
-
Constructor Summary
Constructors Constructor Description IbmI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class jnr.ffi.Platform
addressSize, getCPU, getName, getNativePlatform, getOS, getOSName, getPlatform, getStandardCLibraryName, getVersion, getVersionMajor, getVersionMinor, is32Bit, is64Bit, isBigEndian, isBSD, isLittleEndian, isUnix, libraryLocations, locateLibrary, longSize
-
-
-
-
Method Detail
-
mapLibraryName
public java.lang.String mapLibraryName(java.lang.String libName)
Description copied from class:Platform
Maps from a generic library name (e.g. "c") to the platform specific library name.- Overrides:
mapLibraryName
in classPlatform
- Parameters:
libName
- The library name to map- Returns:
- The mapped library name.
-
locateLibrary
public java.lang.String locateLibrary(java.lang.String libName, java.util.List<java.lang.String> libraryPaths)
Description copied from class:Platform
Searches through a list of directories for a native library.- Overrides:
locateLibrary
in classPlatform
- Parameters:
libName
- the base name (e.g. "c") of the library to locatelibraryPaths
- the list of directories to search- Returns:
- the path of the library
-
-