public class SystemProperties extends Object
Constructor and Description |
---|
SystemProperties() |
Modifier and Type | Method and Description |
---|---|
static void |
addSystemProperties(Properties props)
Thread-safe System.properties copy implementation.
|
static Properties |
copyProperties(Properties properties)
Copies the given
Properties object into a new Properties object, in a thread-safe manner. |
static Properties |
getSystemProperties()
Returns a copy of
System.getProperties() in a thread-safe manner. |
public static void addSystemProperties(Properties props)
public static Properties getSystemProperties()
System.getProperties()
in a thread-safe manner.System.getProperties()
obtained in a thread-safe manner.public static Properties copyProperties(Properties properties)
Properties
object into a new Properties
object, in a thread-safe manner.properties
- Properties to copy.Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.