org.objectweb.cjdbc.controller
Class ControllerReport
java.lang.Object
org.objectweb.cjdbc.controller.ControllerReport
- public class ControllerReport
- extends java.lang.Object
Class to create report from Controller
- Author:
- Nicolas Modrzyk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
controller
private Controller controller
buffer
private java.lang.StringBuffer buffer
exceptionBuffer
private java.lang.StringBuffer exceptionBuffer
fos
private java.io.FileOutputStream fos
ControllerReport
public ControllerReport(Controller controller)
- Call above and write controller xml information
and information
- Parameters:
controller
- to report
ControllerReport
public ControllerReport(Controller controller,
java.lang.Exception e)
- Call above and write about the exception
- Parameters:
controller
- to reporte
- exception
writeControllerInfo
public void writeControllerInfo()
init
public void init(Controller controller)
writeControllerSettings
public void writeControllerSettings()
writeJavaProperties
public void writeJavaProperties()
writeLogs
public void writeLogs()
writeException
public void writeException(java.lang.Exception e)
generate
public void generate()
- Flush and close
write
private void write(java.lang.String string)
writeFile
private void writeFile(java.lang.String filename)
write
private void write(java.util.Hashtable table)
writeTitle
private void writeTitle(java.lang.String title)
writeHeader
private void writeHeader(java.lang.String header)
Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.