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, setEnabled
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
public 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
AppCacheUpdater
mirrorConfigFile
in class AppCacheUpdater
java.lang.Exception
public boolean mirrorZipContent(AbstractAsyncTask installTask, java.lang.String relativePath, java.lang.String fileName) throws java.lang.Exception
AppCacheUpdater
mirrorZipContent
in class AppCacheUpdater
java.lang.Exception
protected final boolean isInstallationSourceAvailable()
AppCacheUpdater
isInstallationSourceAvailable
in class AppCacheUpdater
Copyright © 2014 EsprIT-Systems. All Rights Reserved.