Returns an instance of NativeLibrary for the specified name. The library is loaded if not already loaded. If already loaded, the existing instance is returned. More than one name may map to the same NativeLibrary instance; only a single instance will be provided for any given unique file path.
(String libraryName)
| 420 | * the full path to the library (e.g. "/lib/libc.so.6"). |
| 421 | */ |
| 422 | public static final NativeLibrary getInstance(String libraryName) { |
| 423 | return getInstance(libraryName, Collections.<String, Object>emptyMap()); |
| 424 | } |
| 425 | |
| 426 | /** |
| 427 | * Returns an instance of NativeLibrary for the specified name. |