net.rmi.rjs.fc.ssinstaller
Class SSInstallerUtil
java.lang.Object
   net.rmi.rjs.fc.ssinstaller.SSInstallerUtil
net.rmi.rjs.fc.ssinstaller.SSInstallerUtil
- public class SSInstallerUtil 
- extends java.lang.Object
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SSInstallerUtil
public SSInstallerUtil()
downloadScreenSaverJar
public static void downloadScreenSaverJar(java.io.File outputJarFile,
                                          java.lang.String urlStr)
                                   throws java.io.IOException
- 
- Throws:
- java.io.IOException
 
uncompressScreenSaverJar
public static void uncompressScreenSaverJar(java.io.File jarFile)
- 
 
fileExists
public static java.lang.String fileExists(java.io.File f)
- 
 
setProperties
public static java.lang.String setProperties()
- Method: setProperties()
 Description: Use to set hard coded properties. 
                                Optionally the method readPropertiesfile() can be use to set properties
                                from a properties file.
 
- 
 
readPropertiesfile
public static java.lang.String readPropertiesfile()
- Method: readPropertiesfile()
 Description: Use this method to read properties from a properties file.
                                The name of the file is stored in the static variable INSTALL_PROPERTIES_FILE_NAME.
                                It reads in this format: =
                                This file would be a resource file so it must be located with the .class files.
                                In this class we have additionaly created the method setProperties(), where the properties
                                values are hard coded.
 
- 
 
checkProperties
public static boolean checkProperties()
- 
 
getSSName
public static java.lang.String getSSName()
- 
 
getSSHome
public static java.lang.String getSSHome()
- 
 
getSSWinUrl
public static java.lang.String getSSWinUrl()
- 
 
getSSUnixUrl
public static java.lang.String getSSUnixUrl()
- 
 
createDir
public static void createDir(java.lang.String path)
- 
 
getJarName
public static java.lang.String getJarName()
- 
 
getUserHome
public static java.lang.String getUserHome()
- 
 
getUserDir
public static java.lang.String getUserDir()
- 
 
getJavaHome
public static java.lang.String getJavaHome()
-