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

    return p;
  }
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