public Properties toProperties() {
    final Properties p = new Properties();
    for (final String key : this._current.keySet()) {
      p.setProperty(key, get(key));
    }

    return p;
  }
Returns a java.util.Properties file populated with the current Properties in here.
Note: if you want to import parent properties (e.g., database credentials), please use
toAllProperties
dss-appconn/appconns/dss-eventchecker-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/eventchecker/utils/Props.java