unbbayes.io.log
Class EmptyLogManager

java.lang.Object
  extended by unbbayes.io.log.EmptyLogManager
All Implemented Interfaces:
ILogManager

public class EmptyLogManager
extends Object
implements ILogManager


Constructor Summary
EmptyLogManager()
           
 
Method Summary
 void addTitle(String text)
          Add the title of the log
 void append(String text)
          Append the text
 void appendln(int identation, String text)
           
 void appendln(String text)
          Append the text and make new line.
 void appendSectionTitle(String text)
          Append a section title
 void appendSeparator()
          Append separator line.
 void appendSpecialTitle(String text)
          Append a section title
 void clear()
          Clear the log information.
 String getLog()
          Get the log how a String.
 void writeToDisk(String fileName, boolean append)
          Write the log in a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyLogManager

public EmptyLogManager()
Method Detail

addTitle

public void addTitle(String text)
Description copied from interface: ILogManager
Add the title of the log

Specified by:
addTitle in interface ILogManager

append

public void append(String text)
Description copied from interface: ILogManager
Append the text

Specified by:
append in interface ILogManager

appendSectionTitle

public void appendSectionTitle(String text)
Description copied from interface: ILogManager
Append a section title

Specified by:
appendSectionTitle in interface ILogManager

appendSeparator

public void appendSeparator()
Description copied from interface: ILogManager
Append separator line.

Specified by:
appendSeparator in interface ILogManager

appendSpecialTitle

public void appendSpecialTitle(String text)
Description copied from interface: ILogManager
Append a section title

Specified by:
appendSpecialTitle in interface ILogManager

appendln

public void appendln(String text)
Description copied from interface: ILogManager
Append the text and make new line.

Specified by:
appendln in interface ILogManager

appendln

public void appendln(int identation,
                     String text)

clear

public void clear()
Description copied from interface: ILogManager
Clear the log information.

Specified by:
clear in interface ILogManager

getLog

public String getLog()
Description copied from interface: ILogManager
Get the log how a String.

Specified by:
getLog in interface ILogManager

writeToDisk

public void writeToDisk(String fileName,
                        boolean append)
                 throws IOException
Description copied from interface: ILogManager
Write the log in a file.

Specified by:
writeToDisk in interface ILogManager
Throws:
IOException


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.