com.veromodo.tempo.sem
Class SortedLog

java.lang.Object
  extended by com.veromodo.tempo.sem.SortedLog
All Implemented Interfaces:
ErrorLog, java.lang.Iterable<TIOAMessage>

public class SortedLog
extends java.lang.Object
implements ErrorLog


Constructor Summary
SortedLog()
           
SortedLog(java.io.PrintStream out, int v)
           
 
Method Summary
 int getVerbosity()
           
 boolean hasErrors()
           
 boolean hasFatal()
           
 java.util.Iterator<TIOAMessage> iterator()
           
 void print()
           
 void report(TIOAMessage m)
           
 void setFatal()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortedLog

public SortedLog()

SortedLog

public SortedLog(java.io.PrintStream out,
                 int v)
Method Detail

report

public void report(TIOAMessage m)
Specified by:
report in interface ErrorLog

print

public void print()
Specified by:
print in interface ErrorLog

hasErrors

public boolean hasErrors()
Specified by:
hasErrors in interface ErrorLog

hasFatal

public boolean hasFatal()
Specified by:
hasFatal in interface ErrorLog

setFatal

public void setFatal()
Specified by:
setFatal in interface ErrorLog

getVerbosity

public int getVerbosity()
Specified by:
getVerbosity in interface ErrorLog

iterator

public java.util.Iterator<TIOAMessage> iterator()
Specified by:
iterator in interface ErrorLog
Specified by:
iterator in interface java.lang.Iterable<TIOAMessage>

size

public int size()
Specified by:
size in interface ErrorLog