systeminformationmonitor.system.sigar.loader
Class ArchLoader
java.lang.Object
systeminformationmonitor.system.sigar.loader.ArchLoader
public class ArchLoader
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IS_WIN32
public static final boolean IS_WIN32
IS_AIX
public static final boolean IS_AIX
IS_HPUX
public static final boolean IS_HPUX
IS_SOLARIS
public static final boolean IS_SOLARIS
IS_LINUX
public static final boolean IS_LINUX
IS_DARWIN
public static final boolean IS_DARWIN
IS_OSF1
public static final boolean IS_OSF1
IS_FREEBSD
public static final boolean IS_FREEBSD
IS_NETWARE
public static final boolean IS_NETWARE
ArchLoader
public ArchLoader()
ArchLoader
public ArchLoader(java.lang.Class loaderClass)
getLoaderClass
public java.lang.Class getLoaderClass()
setLoaderClass
public void setLoaderClass(java.lang.Class value)
getClassLoader
public java.lang.ClassLoader getClassLoader()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String value)
getPackageName
public java.lang.String getPackageName()
setPackageName
public void setPackageName(java.lang.String value)
getResourcePath
public java.lang.String getResourcePath()
setResourcePath
public void setResourcePath(java.lang.String value)
getJarName
public java.lang.String getJarName()
setJarName
public void setJarName(java.lang.String value)
getLibName
public java.lang.String getLibName()
setLibName
public void setLibName(java.lang.String value)
getArchLibName
public java.lang.String getArchLibName()
throws ArchNotSupportedException
- Throws:
ArchNotSupportedException
getDefaultLibName
public java.lang.String getDefaultLibName()
throws ArchNotSupportedException
- Throws:
ArchNotSupportedException
getNativeLibrary
public java.io.File getNativeLibrary()
getLibraryPrefix
public static java.lang.String getLibraryPrefix()
getLibraryExtension
public static java.lang.String getLibraryExtension()
getLibraryName
public java.lang.String getLibraryName()
throws ArchNotSupportedException
- Throws:
ArchNotSupportedException
getVersionedLibraryName
public java.lang.String getVersionedLibraryName()
findJarPath
public java.lang.String findJarPath(java.lang.String libName)
throws ArchLoaderException
- Throws:
ArchLoaderException
systemLoadLibrary
protected void systemLoadLibrary(java.lang.String name)
systemLoad
protected void systemLoad(java.lang.String name)
containsNativeLibrary
protected boolean containsNativeLibrary(java.io.File dir,
java.lang.String name)
findNativeLibrary
protected boolean findNativeLibrary(java.lang.String dir,
java.lang.String name)
findInJavaLibraryPath
protected boolean findInJavaLibraryPath(java.lang.String libName)
loadLibrary
protected void loadLibrary(java.lang.String path)
throws ArchNotSupportedException,
ArchLoaderException
- Throws:
ArchNotSupportedException
ArchLoaderException
load
public void load()
throws ArchNotSupportedException,
ArchLoaderException
- Throws:
ArchNotSupportedException
ArchLoaderException
load
public void load(java.lang.String path)
throws ArchNotSupportedException,
ArchLoaderException
- Throws:
ArchNotSupportedException
ArchLoaderException