|
JBoss Modules 1.1.2.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.modules.AbstractResourceLoader
org.jboss.modules.NativeLibraryResourceLoader
public class NativeLibraryResourceLoader
A base class for resource loaders which can load native libraries.
Constructor Summary | |
---|---|
NativeLibraryResourceLoader(File root)
Construct a new instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jboss.modules.AbstractResourceLoader |
---|
getClassSpec, getPackageSpec, getPackageSpec, getPaths, getResource, getRootName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NativeLibraryResourceLoader(File root)
root
- the filesystem root of the resource loaderMethod Detail |
---|
public String getLibrary(String name)
/
" characters. Returns null
by default.
getLibrary
in interface ResourceLoader
getLibrary
in class AbstractResourceLoader
name
- the name
null
if the library is not presentpublic File getRoot()
public static String getArchName()
|
JBoss Modules 1.1.2.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |