sota.ast.util
Class LogReader

java.lang.Object
  extended by sota.ast.util.LogReader

public class LogReader
extends java.lang.Object

Liest eine Logdatei ein und erstellt aus den gelesenen Daten ein TestCase mit Pfadinformationen.


Field Summary
protected static boolean endOfFile
           
protected static boolean endOfLog
           
protected static java.io.FileInputStream input
           
protected static int intValue
           
protected static int pathID
           
protected static java.util.Stack<ASTIterationNode> stackOfIterationNodes
           
protected static boolean VERBOSE
           
 
Constructor Summary
LogReader()
           
 
Method Summary
protected static int bytes2int(byte[] b)
           
protected static int clearHeader(int i)
           
protected static int getNrBooleans(int i)
           
protected static boolean[] intToBooleanArray(int booleans)
           
protected static java.lang.String intToBooleanString(int booleans)
           
protected static java.lang.String intToString(int value)
           
protected static boolean isBoolean(int value)
           
protected static boolean isNodeId(int value)
           
protected static boolean isPathId(int value)
           
protected static int read4Bytes()
           
protected static TestLog readLog(java.io.FileInputStream input, java.lang.String log, ASTManager ast)
          liest Logfile ein und schreibt PfadListe in den ASTManager)
 TestLog readTestLogs(java.lang.String logfile, ASTManager ast)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endOfFile

protected static boolean endOfFile

endOfLog

protected static boolean endOfLog

input

protected static java.io.FileInputStream input

intValue

protected static int intValue

pathID

protected static int pathID

stackOfIterationNodes

protected static java.util.Stack<ASTIterationNode> stackOfIterationNodes

VERBOSE

protected static boolean VERBOSE
Constructor Detail

LogReader

public LogReader()
Method Detail

bytes2int

protected static int bytes2int(byte[] b)

clearHeader

protected static int clearHeader(int i)

getNrBooleans

protected static int getNrBooleans(int i)

intToBooleanArray

protected static boolean[] intToBooleanArray(int booleans)

intToBooleanString

protected static java.lang.String intToBooleanString(int booleans)

intToString

protected static java.lang.String intToString(int value)

isBoolean

protected static boolean isBoolean(int value)

isNodeId

protected static boolean isNodeId(int value)

isPathId

protected static boolean isPathId(int value)

read4Bytes

protected static int read4Bytes()
                         throws java.io.IOException
Throws:
java.io.IOException

readLog

protected static TestLog readLog(java.io.FileInputStream input,
                                 java.lang.String log,
                                 ASTManager ast)
liest Logfile ein und schreibt PfadListe in den ASTManager)


readTestLogs

public TestLog readTestLogs(java.lang.String logfile,
                            ASTManager ast)