| |
|
| java.lang.Object java.lang.Thread org.netbeans.updater.ModuleUpdater
ModuleUpdater | final public class ModuleUpdater extends Thread (Code) | | Class used by autoupdate module for the work with module files and
for installing / uninstalling modules
author: Petr Hrebejk, Ales Kemr, Jiri Rechtacek |
Inner Class :class MainConfig extends Object | |
AUTOUPDATE_UPDATER_JAR_PATH | final public static String AUTOUPDATE_UPDATER_JAR_PATH(Code) | | |
DOWNLOAD_DIR | final static String DOWNLOAD_DIR(Code) | | Relative name of directory where the .NBM files are downloaded
|
LATER_FILE_NAME | final public static String LATER_FILE_NAME(Code) | | The name of the install_later file
|
LOG_FILE_NAME | final public static String LOG_FILE_NAME(Code) | | The name of the log file
|
NBM_EXTENSION | final public static String NBM_EXTENSION(Code) | | Extension of the distribution files
|
QUOTE | final public static char QUOTE(Code) | | |
SPACE | final public static char SPACE(Code) | | |
UPDATE_JAVA_EXT_DIR | final public static String UPDATE_JAVA_EXT_DIR(Code) | | The name of zip entry containing java_extension files
|
UPDATE_MAIN_DIR | final public static String UPDATE_MAIN_DIR(Code) | | The name of zip entry containing files for external installer
|
UPDATE_NETBEANS_DIR | final public static String UPDATE_NETBEANS_DIR(Code) | | The name of zip entry containing netbeans files
|
endRun | void endRun()(Code) | | ends the run of update
|
getBackupDirectory | public File getBackupDirectory(File activeCluster)(Code) | | The directory where to backup old versions of modules
|
getModulesToInstall | public static Set<File> getModulesToInstall(File cluster)(Code) | | Compute the list of modules that should be installed into this
cluster.
Parameters: File - root of cluster List of nbm files |
quoteString | final public static String quoteString(String s)(Code) | | Quotes string correctly, eg. removes all quotes from the string and adds
just one at the start and
second one at the end.
Parameters: s - string to be quoted correctly quoted string |
run | public void run()(Code) | | Creates new ModuleUpdater
|
|
|
|