de.cau.cs.kieler.sim.esi
Class EsiFile

java.lang.Object
  extended by de.cau.cs.kieler.sim.esi.EsiFile
All Implemented Interfaces:
ITraceProvider

public class EsiFile
extends Object
implements ITraceProvider

Rating red

Constructor Summary
EsiFile()
           
 
Method Summary
 ITrace current()
          
 String[] getExtensions()
          
 Set<String> getInputs()
          
 Set<String> getOutputs()
          
 int getRemaining()
          
 boolean hasNext()
          
 List<EsiTrace> loadTrace(String fileName)
          load a trace from a file
 ITrace next()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsiFile

public EsiFile()
Method Detail

current

public ITrace current()


getRemaining

public int getRemaining()


hasNext

public boolean hasNext()


next

public ITrace next()


getInputs

public Set<String> getInputs()


getOutputs

public Set<String> getOutputs()


getExtensions

public String[] getExtensions()

Specified by:
getExtensions in interface ITraceProvider
Returns:
file extensions for all trace files that can be handled by the trace provider.

loadTrace

public List<EsiTrace> loadTrace(String fileName)
                         throws KiemInitializationException
load a trace from a file

Specified by:
loadTrace in interface ITraceProvider
Parameters:
fileName - name of the trace file
Returns:
List of traces
Throws:
KiemInitializationException