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, setEnabledgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toStringpublic 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
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 AppCacheUpdaterpublic ClientContext getClientContext()
ClientObjectgetClientContext in interface ClientObjectCopyright © 2014 EsprIT-Systems. All Rights Reserved.