@@ -0,0 +1,800 @@
+package util;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.util.Properties;%0A%0A/**%0A * Small helper functions that don't need their own class.%0A */%0Apublic class Util %7B%0A%0A    /**%0A     * Loads version string from properties file in resources folder.%0A     *%0A     * @return Version string%0A     */%0A    public static String getVersion() %7B%0A        ClassLoader loader = Thread.currentThread().getContextClassLoader();%0A        InputStream inputStream = loader.getResourceAsStream(%22version.properties%22);%0A        Properties prop = new Properties();%0A        String version = %22%22;%0A%0A        try %7B%0A            prop.load(inputStream);%0A        %7D catch (IOException e) %7B%0A            version = %22x.y.z%22;%0A        %7D%0A        %0A        version = prop.getProperty(%22version%22);%0A        return version;%0A    %7D%0A%7D%0A

Add util function to get version string in Java code