public Map<String, String> getMapByPrefix(final String prefix) {
    final Map<String, String> values = this._parent == null ? new HashMap<>() :
        this._parent.getMapByPrefix(prefix);

    // when there is a conflict, value from the child takes the priority.
    for (final String key : this.localKeySet()) {
      if (key.startsWith(prefix)) {
        values.put(key.substring(prefix.length()), get(key));
      }
    }
    return values;
  }
Get a map of all properties by string prefix

@param prefix The string prefix
dss-appconn/appconns/dss-eventchecker-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/eventchecker/utils/Props.java