mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 13:12:15 +00:00
* Routerconsole:
- Move common methods to new HelperBase class
- Make reseed link a button
This commit is contained in:
1 parent
9d9d4093bc
commit
69e6393442
27 files changed
+63
-351
No files matched your search
@@ -6,22 +6,7 @@ import java.util.TreeSet;
|
||||
|
||||
import net.i2p.router.RouterContext;
|
||||
|
||||
public class ConfigAdvancedHelper {
|
||||
private RouterContext _context;
|
||||
/**
|
||||
* Configure this bean to query a particular router context
|
||||
*
|
||||
* @param contextId begging few characters of the routerHash, or null to pick
|
||||
* the first one we come across.
|
||||
*/
|
||||
public void setContextId(String contextId) {
|
||||
try {
|
||||
_context = ContextHelper.getContext(contextId);
|
||||
} catch (Throwable t) {
|
||||
t.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public class ConfigAdvancedHelper extends HelperBase {
|
||||
public ConfigAdvancedHelper() {}
|
||||
|
||||
public String getSettings() {
|
||||
|
||||
Reference in new issue
Block a user