All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.larsgrefer.sass.embedded.util.PropertyUtils Maven / Gradle / Ivy

There is a newer version: 4.0.0-m2
Show newest version
package de.larsgrefer.sass.embedded.util;

import lombok.experimental.UtilityClass;

import java.io.IOException;
import java.util.Properties;

@UtilityClass
public class PropertyUtils {

    private static final Properties properties = new Properties();

    static {
        try {
            properties.load(PropertyUtils.class.getResourceAsStream("/de/larsgrefer/sass/embedded/sass-embedded-host.properties"));
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }

    public String getDartSassVersion() {
        return properties.getProperty("dartSassVersion");
    }

    public String getEmbeddedProtocolVersion() {
        return properties.getProperty("embeddedProtocolVersion");
    }

    public String getHostVersion() {
        return properties.getProperty("hostVersion");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy