AutoCloseable
, ResourceLoader
public 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, getRootName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, createSubloader
public NativeLibraryResourceLoader(File root)
root
- the filesystem root of the resource loaderpublic String getLibrary(String name)
/
" characters.getLibrary
in interface ResourceLoader
getLibrary
in class AbstractResourceLoader
name
- the namenull
if the library is not presentpublic URI getLocation()
ResourceLoader
null
is returned.null
if not availablepublic File getRoot()
public static String getArchName()
Copyright © 2018 JBoss by Red Hat. All rights reserved.