forked from I2P_Developers/i2p.i2p
add getProperties()
This commit is contained in:
@ -351,6 +351,18 @@ public class RouterContext extends I2PAppContext {
|
||||
return super.getProperty(propName, defaultVal);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return new Properties with system and context properties
|
||||
* @since 0.8.4
|
||||
*/
|
||||
@Override
|
||||
public Properties getProperties() {
|
||||
Properties rv = super.getProperties();
|
||||
if (_router != null)
|
||||
rv.putAll(_router.getConfigMap());
|
||||
return rv;
|
||||
}
|
||||
|
||||
/**
|
||||
* The context's synchronized clock, which is kept context specific only to
|
||||
* enable simulators to play with clock skew among different instances.
|
||||
|
Reference in New Issue
Block a user