public final class SystemUtil extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static Configuration | getSystemPropertiesConfiguration(String prefix,
                                boolean trimPrefix)Generate a  Configurationfrom theSystem.getProperties(). | 
public static Configuration getSystemPropertiesConfiguration(String prefix, boolean trimPrefix)
Configuration from the System.getProperties().
 Only those properties with specified prefix key are aggregated.
 If the prefix and a . should be removed, then trim prefix.prefix - the prefix of the keys to include in the configurationtrimPrefix - whether to trim the prefix + . from the keyCopyright © 2013–2020 Apache Software Foundation. All rights reserved.