java.lang.AutoCloseable
, ResourceLoader
public 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, getRootName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, createSubloader
public 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 ResourceLoader
getLibrary
in class AbstractResourceLoader
name
- the namenull
if the library is not presentpublic java.net.URI getLocation()
ResourceLoader
null
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.