package com.rollbar.payload.utilities;

import java.io.IOException;
import java.io.InputStream;

public class Properties {
    public static String getAssemblyVersion() {
        final String file = "assembly.properties";
        try {
            InputStream stream = Properties.class
                    .getClassLoader()
                    .getResourceAsStream(file);
            java.util.Properties properties = new java.util.Properties();
            if (stream != null) {
                properties.load(stream);
            }
            else {
                System.err.println("File not found: " + file);
                return null;
            }
            return properties.getProperty("version");
        }
        catch (IOException e){
            System.err.println("File read error: " + file);
            return null;
        }
    }
}

@@ -94,33 +94,260 @@
 m;%0A%0A
-public class Properties %7B
+/**%0A * A class that gets properties from the properties file.%0A */%0Apublic class Properties %7B%0A    /**%0A     * Get the assembly verison in the assembly.properties file. Should update automatically with each Maven release.%0A     * @return the version%0A     */
 %0A   

Document the Properties class; untested, still need to deploy to maven to test it