RbUtils 0.13

org.ktc.rbutils.rb.generation
Class XmlLogger

java.lang.Object
  extended by org.ktc.rbutils.api.audit.AbstractXmlLogger
      extended by org.ktc.rbutils.rb.generation.XmlLogger
All Implemented Interfaces:
EventListener, Logger

public class XmlLogger
extends AbstractXmlLogger

Simple XML logger for generation process.

Since:
RbUtils 0.4
Version:
$Revision: 1.4 $
Author:
ktcguru

Field Summary
 
Fields inherited from class org.ktc.rbutils.api.audit.AbstractXmlLogger
CLOSEENDNODE, CLOSENODE, closeStream, DBLEQUOT, ENCODING, TAB, TAB_2, taskName, writer
 
Constructor Summary
XmlLogger(File xmlLogFile)
          Creates a new XmlLogger instance.
 
Method Summary
 
Methods inherited from class org.ktc.rbutils.api.audit.AbstractXmlLogger
addError, addException, addInfo, getXmlHeader, processEnded, processFileEnded, processFileStarted, processStarted, setOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlLogger

public XmlLogger(File xmlLogFile)
          throws IOException
Creates a new XmlLogger instance.

Parameters:
xmlLogFile - file to be used to store the logs.
Throws:
NullArgumentException - if xmlLogFile is null.
IOException - if it is not possible to create the file.
See Also:
AbstractXmlLogger

Back to the RbUtils Home Page

Copyright © 2005-2009 RbUtils Project. All Rights Reserved.