it.eng.spagobi.importexport
Class MetadataLogger

java.lang.Object
  extended by it.eng.spagobi.importexport.MetadataLogger

public class MetadataLogger
extends java.lang.Object

Buffer for the import log messages


Field Summary
private  java.lang.StringBuffer logBuf
           
 
Constructor Summary
MetadataLogger()
          Constructor, initialize the buffer with date and time
 
Method Summary
 byte[] getLogBytes()
          Gets the array of bytes of all the logs
 void log(java.lang.String msg)
          Logs a message into the buffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logBuf

private java.lang.StringBuffer logBuf
Constructor Detail

MetadataLogger

public MetadataLogger()
Constructor, initialize the buffer with date and time

Method Detail

log

public void log(java.lang.String msg)
Logs a message into the buffer

Parameters:
msg - The message to log

getLogBytes

public byte[] getLogBytes()
Gets the array of bytes of all the logs

Returns:
The logs bytes