Package com.intellij.util
Class SystemProperties
- java.lang.Object
-
- com.intellij.util.SystemProperties
-
public class SystemProperties extends Object
Utility wrappers for accessing system properties.- Author:
- yole
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getJavaHome()
Returns the value of the java.home system property.static String
getJavaVersion()
Returns the value of the java.version system property.static String
getJavaVmVendor()
Returns the value of the java.vm.vendor system property.static String
getLineSeparator()
Returns the value of the line.separator system property.static String
getOsName()
Returns the value of the os.name system property.static String
getUserHome()
Returns the value of the user.home system property.static String
getUserName()
-
-
-
Method Detail
-
getUserHome
public static String getUserHome()
Returns the value of the user.home system property.- Returns:
- the property value
-
getUserName
public static String getUserName()
-
getLineSeparator
public static String getLineSeparator()
Returns the value of the line.separator system property.- Returns:
- the property value
-
getOsName
public static String getOsName()
Returns the value of the os.name system property.- Returns:
- the property value
-
getJavaVersion
public static String getJavaVersion()
Returns the value of the java.version system property.- Returns:
- the property value
-
getJavaVmVendor
public static String getJavaVmVendor()
Returns the value of the java.vm.vendor system property.- Returns:
- the property value
-
getJavaHome
public static String getJavaHome()
Returns the value of the java.home system property.- Returns:
- the property value
-
-