AutoCloseable, ResourceLoaderpublic class NativeLibraryResourceLoader extends AbstractResourceLoader
| Constructor | Description | 
|---|---|
NativeLibraryResourceLoader(File root) | 
 Construct a new instance. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
static String | 
getArchName() | 
 Get the detected architecture name for this platform. 
 | 
String | 
getLibrary(String name) | 
 Get the absolute physical filesystem path for a library with the given name. 
 | 
URI | 
getLocation() | 
 Get the base location of the resources in this loader (if any). 
 | 
File | 
getRoot() | 
 Get the filesystem root of the resource loader. 
 | 
getClassSpec, getPackageSpec, getPackageSpec, getPaths, getResource, getRootNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, createSubloaderpublic NativeLibraryResourceLoader(File root)
root - the filesystem root of the resource loaderpublic String getLibrary(String name)
/" characters.getLibrary in interface ResourceLoadergetLibrary in class AbstractResourceLoadername - the namenull if the library is not presentpublic URI getLocation()
ResourceLoadernull is returned.null if not availablepublic File getRoot()
public static String getArchName()
Copyright © 2022 JBoss by Red Hat. All rights reserved.