net.i2p.router.web
Class NetDbRenderer

java.lang.Object
  extended by net.i2p.router.web.NetDbRenderer

public class NetDbRenderer
extends java.lang.Object


Constructor Summary
NetDbRenderer(RouterContext ctx)
           
 
Method Summary
 void renderLeaseSetHTML(java.io.Writer out, boolean debug)
           
 void renderRouterInfoHTML(java.io.Writer out, java.lang.String routerPrefix)
           
 void renderStatusHTML(java.io.Writer out, int mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetDbRenderer

public NetDbRenderer(RouterContext ctx)
Method Detail

renderRouterInfoHTML

public void renderRouterInfoHTML(java.io.Writer out,
                                 java.lang.String routerPrefix)
                          throws java.io.IOException
Throws:
java.io.IOException

renderLeaseSetHTML

public void renderLeaseSetHTML(java.io.Writer out,
                               boolean debug)
                        throws java.io.IOException
Parameters:
debug - @since 0.7.14 sort by distance from us, display median distance, and other stuff, useful when floodfill
Throws:
java.io.IOException

renderStatusHTML

public void renderStatusHTML(java.io.Writer out,
                             int mode)
                      throws java.io.IOException
Parameters:
mode - 0: our info and charts only; 1: full routerinfos and charts; 2: abbreviated routerinfos and charts
Throws:
java.io.IOException