com.github.bjuvensjo.rsimulator.http.config.GlobalConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rsimulator-http Show documentation
Show all versions of rsimulator-http Show documentation
${project.artifactId} module
package com.github.bjuvensjo.rsimulator.http.config;
/**
* @author Anders Bälter
*/
public class GlobalConfig {
public static String rootPath;
public static boolean useRootRelativePath;
static {
rootPath = System.getProperty(Constants.ROOT_PATH) != null ? System.getProperty(Constants.ROOT_PATH)
: Constants.DEFAULT_ROOT_PATH;
useRootRelativePath = System.getProperty(Constants.USE_ROOT_RELATIVE_PATH) != null ? "true".equals(System
.getProperty(Constants.USE_ROOT_RELATIVE_PATH)) : false;
}
private GlobalConfig() {
// noop
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy