de.cau.cs.kieler.sim.trace
Interface ITraceProvider


public interface ITraceProvider

Interface for all generic trace providers, which can load a trace from some resource.

Rating red

Method Summary
 String[] getExtensions()
           
 List<? extends ITrace> loadTrace(String fileName)
          load a trace from a file
 

Method Detail

loadTrace

List<? extends ITrace> loadTrace(String fileName)
                                 throws KiemInitializationException
load a trace from a file

Parameters:
fileName - name of the trace file
Returns:
List of traces
Throws:
KiemInitializationException - thrown for any parse error

getExtensions

String[] getExtensions()
Returns:
file extensions for all trace files that can be handled by the trace provider.