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)
           
 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)
                        throws java.io.IOException
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