org.apache.tinkerpop.gremlin.util

## Class SystemUtil

- java.lang.Object
- - org.apache.tinkerpop.gremlin.util.SystemUtil

-     public final class SystemUtil
      extends Object

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static org.apache.commons.configuration2.Configuration` | `getSystemPropertiesConfiguration(String prefix, boolean trimPrefix)` Generate a `Configuration` from the `System.getProperties()`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getSystemPropertiesConfiguration

          public static org.apache.commons.configuration2.Configuration getSystemPropertiesConfiguration(String prefix,
                                                                                                         boolean trimPrefix)

      Generate a `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.
      Parameters:
        `prefix` - the prefix of the keys to include in the configuration
        `trimPrefix` - whether to trim the prefix + . from the key
      Returns:
        a configuration generated from the System properties

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.