public class AppCacheUrlUpdater extends AppCacheUpdater
cacheSubDir, logSubDir, timestampFileName| Constructor and Description |
|---|
AppCacheUrlUpdater(ApplicationContext ctx,
java.io.File appCacheRoot,
java.net.URL appStoreUrl) |
AppCacheUrlUpdater(ApplicationContext ctx,
LogChannel logCh,
java.io.File appCacheRoot,
java.net.URL appStoreUrl) |
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getAppStoreUrl()
Returns the root directory of the remote software repository.
|
protected boolean |
isInstallationSourceAvailable()
Tells whether the repository (which may reside on a remote server) is currently available.
|
boolean |
mirrorConfigFile(java.lang.String relativePath,
java.lang.String fileName)
Mirrors the given file from a repository directory to a local cache directory
The repositoryDir as well as the cacheDir are defined by the constructor
of the implementing class.
|
boolean |
mirrorZipContent(AbstractAsyncTask installTask,
java.lang.String relativePath,
java.lang.String fileName)
Extracts a ZIP-file containing an application software from the remote repository to the local cache directory.
|
buildTimestampFile, copyStream, createDirectoryPathFor, getAppCacheDir, getAppCacheRoot, getAppLogsDir, getExcludeFilter, init, isEnabled, performExtraction, setEnabledgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toStringpublic AppCacheUrlUpdater(ApplicationContext ctx, java.io.File appCacheRoot, java.net.URL appStoreUrl)
public AppCacheUrlUpdater(ApplicationContext ctx, LogChannel logCh, java.io.File appCacheRoot, java.net.URL appStoreUrl)
public java.net.URL getAppStoreUrl()
public final boolean mirrorConfigFile(java.lang.String relativePath,
java.lang.String fileName)
throws java.lang.Exception
AppCacheUpdatermirrorConfigFile in class AppCacheUpdaterjava.lang.Exceptionpublic boolean mirrorZipContent(AbstractAsyncTask installTask, java.lang.String relativePath, java.lang.String fileName) throws java.lang.Exception
AppCacheUpdatermirrorZipContent in class AppCacheUpdaterjava.lang.Exceptionprotected final boolean isInstallationSourceAvailable()
AppCacheUpdaterisInstallationSourceAvailable in class AppCacheUpdaterCopyright © 2014 EsprIT-Systems. All Rights Reserved.