edu.harvard.seas.iis.abilities.analysis
Class LogSource

java.lang.Object
  extended by edu.harvard.seas.iis.abilities.analysis.LogSource

public class LogSource
extends java.lang.Object

This class allows us to read logs from different sources

Author:
kgajos

Constructor Summary
LogSource(java.io.File[] files)
           
LogSource(java.lang.String log)
           
 
Method Summary
 java.lang.String getCurrentSource()
           
 java.lang.String getNextLine()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogSource

public LogSource(java.lang.String log)

LogSource

public LogSource(java.io.File[] files)
          throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

getNextLine

public java.lang.String getNextLine()
                             throws java.io.IOException
Throws:
java.io.IOException

getCurrentSource

public java.lang.String getCurrentSource()