Package jnr.ffi
Class Platform.IbmI
java.lang.Object
jnr.ffi.Platform
jnr.ffi.Platform.Supported
jnr.ffi.Platform.IbmI
- Enclosing class:
- Platform
-
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 -
Method Summary
Modifier and TypeMethodDescriptionlocateLibrary
(String libName, List<String> libraryPaths) Searches through a list of directories for a native library.mapLibraryName
(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
-
Constructor Details
-
IbmI
public IbmI()
-
-
Method Details
-
mapLibraryName
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
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
-