public class FileUpdateStrategy extends Object implements IUpdateStrategy
| Constructor and Description |
|---|
FileUpdateStrategy(String repositoryUrl) |
| Modifier and Type | Method and Description |
|---|---|
Date |
downloadUpdate(OutputStream destinationStream) |
long |
getUpdateSize() |
String |
getUpdateUrl() |
boolean |
isUpdateAvailable(File localJarFile) |
public FileUpdateStrategy(String repositoryUrl)
public boolean isUpdateAvailable(File localJarFile) throws Exception
isUpdateAvailable in interface IUpdateStrategyExceptionpublic String getUpdateUrl()
getUpdateUrl in interface IUpdateStrategypublic long getUpdateSize()
getUpdateSize in interface IUpdateStrategypublic Date downloadUpdate(OutputStream destinationStream) throws Exception
downloadUpdate in interface IUpdateStrategyExceptionCopyright © 2015 Ecclesia Versicherungsdienst GmbH. All rights reserved.