unbbayes.io.log
Interface ILogManager

All Known Subinterfaces:
ISSBNLogManager
All Known Implementing Classes:
EmptyLogManager, NetworkCompilationLogManager, SSBNTextLogManager, TextLogManager

public interface ILogManager

Interface for a log manager (responsible for generate the log of a operation).

Author:
Laecio Lima dos Santos (laecio@gmail.com)

Method Summary
 void addTitle(String text)
          Add the title of the log
 void append(String text)
          Append the 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.
 

Method Detail

clear

void clear()
Clear the log information.


getLog

String getLog()
Get the log how a String.


writeToDisk

void writeToDisk(String fileName,
                 boolean append)
                 throws IOException
Write the log in a file.

Throws:
IOException

addTitle

void addTitle(String text)
Add the title of the log


append

void append(String text)
Append the text


appendln

void appendln(String text)
Append the text and make new line.


appendSeparator

void appendSeparator()
Append separator line.


appendSectionTitle

void appendSectionTitle(String text)
Append a section title


appendSpecialTitle

void appendSpecialTitle(String text)
Append a section title



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