public class NativeLibraryResourceLoader extends AbstractResourceLoader
Constructor and Description |
---|
NativeLibraryResourceLoader(File root)
Construct a new instance.
|
Modifier and Type | Method and 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.
|
File |
getRoot()
Get the filesystem root of the resource loader.
|
getClassSpec, getPackageSpec, getPackageSpec, getPaths, getResource, getRootName
public NativeLibraryResourceLoader(File root)
root
- the filesystem root of the resource loaderpublic String getLibrary(String name)
/
" characters. Returns null
by default.getLibrary
in interface ResourceLoader
getLibrary
in class AbstractResourceLoader
name
- the namenull
if the library is not presentpublic File getRoot()
public static String getArchName()
Copyright © 2017 JBoss by Red Hat. All rights reserved.