artisynth.core.driver
Class LibraryInstaller

java.lang.Object
  extended by 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.


Constructor Summary
LibraryInstaller()
           
 
Method Summary
 void addLibrary(java.lang.String libName)
           
 void clearJars()
           
 void clearNativeLibs()
           
 java.io.File getLibDir()
           
 java.lang.String getRemoteSource()
           
 boolean isConnectionException(java.lang.Exception e)
           
static void main(java.lang.String[] args)
           
 void readLibs(java.io.File file)
           
 void setLibDir(java.lang.String dirPath)
           
 void setRemoteSource(java.lang.String source)
           
 boolean verifyJars(boolean updateLibs)
           
 boolean verifyNativeLibs(boolean updateLibs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryInstaller

public LibraryInstaller()
Method Detail

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