APISonar


com.baselet.control.constants.SystemInfo.OS

> com > baselet > control > constants > SystemInfo > OS
com APIs baselet APIs control APIs constants APIs SystemInfo APIs OS APIs

Example 1
private static String osConformConfigDirectory() {
		String configDir = userHomeDirectory();

		if (SystemInfo.OS == Os.WINDOWS) {
			configDir = windowsConfigDirectory();
		}
		else if (SystemInfo.OS == Os.MAC) {
			configDir = macOSXConfigDirectory();
		}
		else if (SystemInfo.OS == Os.LINUX || SystemInfo.OS == Os.UNIX) {
			configDir = xgdConfigDirectory();
		}

		return configDir;
	}