1 package org.gffs.version;
4 import java.io.IOException;
6 import org.gffs.application.ProgramTools;
10 static private final String VERSION_FILENAME =
"current.version";
12 private Version _currentVersion;
13 private File _versionFile;
18 _currentVersion =
null;
23 if (_currentVersion ==
null) {
26 if (!_versionFile.exists()) {
30 if (!_versionFile.exists()) {
34 if (_versionFile.exists()) {
35 _currentVersion =
new Version(_versionFile);
39 return _currentVersion;
Version getCurrentVersion()
static Version EMPTY_VERSION