Class SystemProperties


  • public class SystemProperties
    extends Object
    Utility wrappers for accessing system properties.
    Author:
    yole
    • 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