artisynth.core.driver
Class LibraryInstaller
java.lang.Object
artisynth.core.driver.LibraryInstaller
public class LibraryInstaller
- extends java.lang.Object
Class to installer Artisynth libraries (both jar files and native binaries).
It is intended to be callable as both as a standalone application and from
within ArtiSynth. By default, it finds the libraries to load in the file
$ARTISYNTH_HOME/lib/LIBRARIES.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibraryInstaller
public LibraryInstaller()
getRemoteSource
public java.lang.String getRemoteSource()
setRemoteSource
public void setRemoteSource(java.lang.String source)
addLibrary
public void addLibrary(java.lang.String libName)
clearJars
public void clearJars()
clearNativeLibs
public void clearNativeLibs()
setLibDir
public void setLibDir(java.lang.String dirPath)
getLibDir
public java.io.File getLibDir()
main
public static void main(java.lang.String[] args)
verifyNativeLibs
public boolean verifyNativeLibs(boolean updateLibs)
throws java.lang.Exception
- Throws:
java.lang.Exception
isConnectionException
public boolean isConnectionException(java.lang.Exception e)
verifyJars
public boolean verifyJars(boolean updateLibs)
throws java.lang.Exception
- Throws:
java.lang.Exception
readLibs
public void readLibs(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException