You can get the value of system properties using the Manager class. The Manager class has many overloaded methods with name getProperty.

You can use the following methods to get the value of system properties:

  • getProperty(String key) – This method returns a string value for a property based on the default vendor “yfs”.
  • getProperty(String vendor, String key) – This method returns a string value for a property based on the specified vendor.

Join The Discussion

Your email address will not be published. Required fields are marked *