net.i2p.router.web
Class NetDbRenderer
java.lang.Object
net.i2p.router.web.NetDbRenderer
public class NetDbRenderer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetDbRenderer
public NetDbRenderer(RouterContext ctx)
renderRouterInfoHTML
public void renderRouterInfoHTML(Writer out,
String routerPrefix,
String version,
String country)
throws IOException
- One String must be non-null
- Parameters:
routerPrefix
- may be null. "." for our router onlyversion
- may be nullcountry
- may be null
- Throws:
IOException
renderLeaseSetHTML
public void renderLeaseSetHTML(Writer out,
boolean debug)
throws IOException
- Parameters:
debug
- @since 0.7.14 sort by distance from us, display
median distance, and other stuff, useful when floodfill
- Throws:
IOException
renderStatusHTML
public void renderStatusHTML(Writer out,
int mode)
throws IOException
- Parameters:
mode
- 0: charts only; 1: full routerinfos; 2: abbreviated routerinfos
- Throws:
IOException