com.partnersoft.update
Class UpdateLib
java.lang.Object
com.partnersoft.update.UpdateLib
- All Implemented Interfaces:
- UpdateConstants
public class UpdateLib
- extends java.lang.Object
- implements UpdateConstants
Useful methods for dealing with the update system.
- Author:
- Paul Reavis
Copyright 2005 Partner Software, Inc.
| Fields inherited from interface com.partnersoft.update.UpdateConstants |
CENTRAL_HUB, CONFIG_LEVELS, CONFIG_MANAGER, DISTRIBUTION, INSTALL_TYPES, MAP_TRANSLATOR, OS, OS_DIRS, PALM_USER, PROVIDER, SHORT_INSTALL_TYPES, SITE_HUB, USER, WEB_USER |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateLib
public UpdateLib()
contentsForPackage
public static java.util.ArrayList contentsForPackage(java.lang.String packageName)
boxcarPathFor
public static java.lang.String boxcarPathFor(java.lang.String packageName)
checksumPathFor
public static java.lang.String checksumPathFor(java.lang.String packageName)
makeAbsolutelySureItAintA3xInstall
public static void makeAbsolutelySureItAintA3xInstall(java.io.File installDir)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPackageContents
public static Naming getPackageContents()
whichPackages
public static java.util.ArrayList whichPackages(java.lang.String sourceType,
java.lang.String destinationType,
java.lang.String osType,
boolean embedJava)
packagesProvidedBy
public static java.util.ArrayList packagesProvidedBy(java.lang.String sourceType)
readSourceInstallType
public static java.lang.String readSourceInstallType()
throws java.io.IOException
- Throws:
java.io.IOException
readInstallType
public static java.lang.String readInstallType(VFS source)
throws java.io.IOException
- Throws:
java.io.IOException
listPackagesChanged
public static java.util.ArrayList listPackagesChanged()
throws java.io.IOException
- Throws:
java.io.IOException
listPackagesChanged
public static java.util.ArrayList listPackagesChanged(VFS source,
VFS destination)
throws java.io.IOException
- Throws:
java.io.IOException
listPackagesChanged
public static java.util.ArrayList listPackagesChanged(java.net.URL source,
VFS destination)
throws java.io.IOException
- Throws:
java.io.IOException
restart
public static void restart()
throws java.io.IOException
- Updates the system, then restarts the Map Viewer.
- Throws:
java.io.IOException