private static void generateToCConnectionListener ( Map < String , List < TraceEvent > > events , FileWriter fw ) throws Exception { writeString ( fw , "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"" ) ; writeEOL ( fw ) ; writeString ( fw , " \"http://www.w3.org/TR/html4/loose.dtd\">" ) ; writeEOL ( fw ) ; writeString ( fw , "<html>" ) ; writeEOL ( fw ) ; writeString ( fw , "<head>" ) ; writeEOL ( fw ) ; writeString ( fw , "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\">" ) ; writeEOL ( fw ) ; writeString ( fw , "<title>Reference: ConnectionListener</title>" ) ; writeEOL ( fw ) ; writeString ( fw , "</head>" ) ; writeEOL ( fw ) ; writeString ( fw , "<body style=\"background: #D7D7D7;\">" ) ; writeEOL ( fw ) ; writeString ( fw , "<h1>Reference: ConnectionListener</h1>" ) ; writeEOL ( fw ) ; writeString ( fw , "<table>" ) ; writeEOL ( fw ) ; writeString ( fw , "<tr>" ) ; writeEOL ( fw ) ; writeString ( fw , "<td><b>ConnectionListener</b></td>" ) ; writeEOL ( fw ) ; writeString ( fw , "<td><b>ManagedConnectionPool</b></td>" ) ; writeEOL ( fw ) ; writeString ( fw , "<td><b>Pool</b></td>" ) ; writeEOL ( fw ) ; writeString ( fw , "</tr>" ) ; writeEOL ( fw ) ; for ( Map . Entry < String , List < TraceEvent > > entry : events . entrySet ( ) ) { TraceEvent te = entry . getValue ( ) . get ( 0 ) ; writeString ( fw , "<tr>" ) ; writeEOL ( fw ) ; writeString ( fw , "<td><a href=\"" + te . getPool ( ) + "/" + te . getConnectionListener ( ) + "/index.html\">" + te . getConnectionListener ( ) + "</a></td>" ) ; writeEOL ( fw ) ; writeString ( fw , "<td>" + te . getManagedConnectionPool ( ) + "</td>" ) ; writeEOL ( fw ) ; writeString ( fw , "<td><a href=\"" + te . getPool ( ) + "/index.html\">" + te . getPool ( ) + "</a></td>" ) ; writeEOL ( fw ) ; writeString ( fw , "</tr>" ) ; writeEOL ( fw ) ; } writeString ( fw , "</table>" ) ; writeEOL ( fw ) ; writeString ( fw , "<p>" ) ; writeEOL ( fw ) ; writeString ( fw , "<a href=\"index.html\">Back</a>" ) ; writeEOL ( fw ) ; writeString ( fw , "</body>" ) ; writeEOL ( fw ) ; writeString ( fw , "</html>" ) ; writeEOL ( fw ) ; }
Write toc - cl . html for connection listeners