public class AppCacheTransferUpdater extends AppCacheUpdater implements ClientObject
cacheSubDir, logSubDir, timestampFileName
Constructor and Description |
---|
AppCacheTransferUpdater(ClientContext ctx,
java.io.File appCacheRoot,
java.lang.String appStorePath) |
AppCacheTransferUpdater(ClientContext ctx,
LogChannel logCh,
java.io.File appCacheRoot,
java.lang.String appStorePath) |
Modifier and Type | Method and Description |
---|---|
ClientContext |
getClientContext()
Returns the the client runtime environment
|
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 AppCacheTransferUpdater(ClientContext ctx, java.io.File appCacheRoot, java.lang.String appStorePath)
public AppCacheTransferUpdater(ClientContext ctx, LogChannel logCh, java.io.File appCacheRoot, java.lang.String appStorePath)
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
public ClientContext getClientContext()
ClientObject
getClientContext
in interface ClientObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.