java.lang.AutoCloseable, ResourceLoaderpublic class NativeLibraryResourceLoader extends AbstractResourceLoader
| Constructor | Description |
|---|---|
NativeLibraryResourceLoader(java.io.File root) |
Construct a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
getArchName() |
Get the detected architecture name for this platform.
|
java.lang.String |
getLibrary(java.lang.String name) |
Get the absolute physical filesystem path for a library with the given name.
|
java.net.URI |
getLocation() |
Get the base location of the resources in this loader (if any).
|
java.io.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(java.io.File root)
root - the filesystem root of the resource loaderpublic java.lang.String getLibrary(java.lang.String name)
/" characters.getLibrary in interface ResourceLoadergetLibrary in class AbstractResourceLoadername - the namenull if the library is not presentpublic java.net.URI getLocation()
ResourceLoadernull is returned.null if not availablepublic java.io.File getRoot()
public static java.lang.String getArchName()
Copyright © 2022 JBoss by Red Hat. All rights reserved.