diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2014-02-03 15:29:43 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2014-02-03 15:29:43 +0000 |
commit | afb1fa29ae33467c62d4927fa0b58d339cbdd6e7 (patch) | |
tree | 43e21af23e31bab0004697b095358a1e1e154d13 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java | |
parent | 521431920bb0079a618ffe5d72bd6280608fc13f (diff) | |
download | mocca-afb1fa29ae33467c62d4927fa0b58d339cbdd6e7.tar.gz mocca-afb1fa29ae33467c62d4927fa0b58d339cbdd6e7.tar.bz2 mocca-afb1fa29ae33467c62d4927fa0b58d339cbdd6e7.zip |
Check for updates on startup (configurable)
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@506 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java index aae15703..3b848647 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java @@ -77,6 +77,15 @@ public class Constants { /** PDF-Over User Agent string */ public static final String USER_AGENT_STRING = "PDF-Over " + (APP_VERSION == null ? "4.0" : APP_VERSION); //$NON-NLS-1$ //$NON-NLS-2$ + /** Current release file */ + public static final String CURRENT_RELEASE_URL = "http://webstart.buergerkarte.at/PDF-Over/Release.txt"; //$NON-NLS-1$ + + /** Update URL */ + public static final String UPDATE_URL = "http://webstart.buergerkarte.at/PDF-Over/"; //$NON-NLS-1$ + + /** False */ + public static final String FALSE = "false"; //$NON-NLS-1$ + /* Configuration parameters */ @@ -118,6 +127,9 @@ public class Constants { /** The signature locale config parameter */ public static final String CFG_SIGN_LOCALE = "SIGNLOCALE"; //$NON-NLS-1$ + /** The update check config parameter */ + public static final String CFG_UPDATE_CHECK = "UPDATE_CHECK"; //$NON-NLS-1$ + /** The proxy host config parameter */ public static final String CFG_PROXY_HOST = "PROXY_HOST"; //$NON-NLS-1$ |