unbbayes.io.log
Class SSBNTextLogManager

java.lang.Object
  extended by unbbayes.io.log.TextLogManager
      extended by unbbayes.io.log.SSBNTextLogManager
All Implemented Interfaces:
Serializable, ILogManager, ISSBNLogManager

public class SSBNTextLogManager
extends TextLogManager
implements ISSBNLogManager

See Also:
Serialized Form

Field Summary
 boolean enabled
           
 
Fields inherited from class unbbayes.io.log.TextLogManager
DEFAULT_BUFFER_SIZE, DEFAULT_FILENAME, identationString, numColumn, resource
 
Constructor Summary
SSBNTextLogManager()
           
 
Method Summary
 Boolean isEnabled()
           
 void printBox1(String text)
           
 void printBox1Bar()
           
 void printBox2(String text)
           
 void printBox2Bar()
           
 void printBox3(IdentationLevel identationNivel, int position, String text)
           
 void printBox3Bar(IdentationLevel identationNivel)
           
 void printSectionSeparation()
           
 void printText(IdentationLevel identationNivel, boolean printNumber, String text)
           
 void setEnabled(boolean enabled)
          If this log manager is enabled or not.
 void skipLine()
           
 
Methods inherited from class unbbayes.io.log.TextLogManager
addTitle, append, appendIfTrue, appendln, appendln, appendlnIfTrue, appendlnIfTrue, appendSectionTitle, appendSeparator, appendSpecialTitle, clear, getEnabled, getLog, reset, writeToDisk
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface unbbayes.io.log.ILogManager
addTitle, append, appendln, appendSectionTitle, appendSeparator, appendSpecialTitle, clear, getLog, writeToDisk
 

Field Detail

enabled

public boolean enabled
Constructor Detail

SSBNTextLogManager

public SSBNTextLogManager()
Method Detail

printBox1

public void printBox1(String text)
Specified by:
printBox1 in interface ISSBNLogManager

printBox1Bar

public void printBox1Bar()
Specified by:
printBox1Bar in interface ISSBNLogManager

printBox2

public void printBox2(String text)
Specified by:
printBox2 in interface ISSBNLogManager

printBox2Bar

public void printBox2Bar()
Specified by:
printBox2Bar in interface ISSBNLogManager

printBox3

public void printBox3(IdentationLevel identationNivel,
                      int position,
                      String text)
Specified by:
printBox3 in interface ISSBNLogManager

printBox3Bar

public void printBox3Bar(IdentationLevel identationNivel)
Specified by:
printBox3Bar in interface ISSBNLogManager

printSectionSeparation

public void printSectionSeparation()
Specified by:
printSectionSeparation in interface ISSBNLogManager

printText

public void printText(IdentationLevel identationNivel,
                      boolean printNumber,
                      String text)
Specified by:
printText in interface ISSBNLogManager

skipLine

public void skipLine()
Specified by:
skipLine in interface ISSBNLogManager

isEnabled

public Boolean isEnabled()
Overrides:
isEnabled in class TextLogManager

setEnabled

public void setEnabled(boolean enabled)
Description copied from class: TextLogManager
If this log manager is enabled or not. When not enabled, any call would do nothing.

Overrides:
setEnabled in class TextLogManager
Parameters:
enabled - the enabled to set. True to enable. False to disable


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