public class AppCacheFileUpdater extends AppCacheUpdater
cacheSubDir, logSubDir, timestampFileName
Constructor and Description |
---|
AppCacheFileUpdater(ApplicationContext ctx,
java.io.File appCacheRoot,
java.io.File appStoreDir) |
AppCacheFileUpdater(ApplicationContext ctx,
LogChannel logCh,
java.io.File appCacheRoot,
java.io.File appStoreDir) |
Modifier and Type | Method and Description |
---|---|
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 AppCacheFileUpdater(ApplicationContext ctx, java.io.File appCacheRoot, java.io.File appStoreDir)
public AppCacheFileUpdater(ApplicationContext ctx, LogChannel logCh, java.io.File appCacheRoot, java.io.File appStoreDir)
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.