forked from I2P_Developers/i2p.i2p
20 lines
459 B
Java
20 lines
459 B
Java
package net.i2p.router.web;
|
|
|
|
import java.io.IOException;
|
|
import java.io.StringWriter;
|
|
|
|
|
|
public class ConfigPeerHelper extends HelperBase {
|
|
public ConfigPeerHelper() {}
|
|
|
|
public String getBlocklistSummary() {
|
|
StringWriter sw = new StringWriter(4*1024);
|
|
try {
|
|
_context.blocklist().renderStatusHTML(sw);
|
|
} catch (IOException ioe) {
|
|
ioe.printStackTrace();
|
|
}
|
|
return sw.toString();
|
|
}
|
|
}
|