org.rlcommunity.rlglue.codec.installer
Class Installer

java.lang.Object
  extended by org.rlcommunity.rlglue.codec.installer.Installer

public class Installer
extends java.lang.Object

This class can be used to check the installation status of the RL-Glue Java Extension, It can install or uninstall that codec also.

Author:
btanner

Constructor Summary
Installer()
           
 
Method Summary
static void copyFileTo(java.io.File source, java.io.File target)
          Copy the source file to the target file.
static java.lang.String getFloatDir()
           
static java.lang.String getInstallDir()
           
static void install()
           
static boolean isInstalled()
          Returns true of this class was loaded from an installed location.
static void uninstall()
          This will make sure that the codec is installed somewhere in the extensions path,and if so, it will remove the jar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Installer

public Installer()
Method Detail

getFloatDir

public static java.lang.String getFloatDir()

getInstallDir

public static java.lang.String getInstallDir()

install

public static void install()

isInstalled

public static boolean isInstalled()
Returns true of this class was loaded from an installed location.

Returns:

uninstall

public static void uninstall()
This will make sure that the codec is installed somewhere in the extensions path,and if so, it will remove the jar.


copyFileTo

public static void copyFileTo(java.io.File source,
                              java.io.File target)
                       throws java.io.IOException
Copy the source file to the target file. If the destination file does not exist, it is created.

Parameters:
source -
target -
Throws:
java.io.IOException