hep.lcd.io.jas
Class MultiFileEventSource

java.lang.Object
  |
  +--hep.lcd.io.jas.MultiFileEventSource

public class MultiFileEventSource
extends Object
implements EventSource, FilenameFilter

Source Code:
MultiFileEventSource.java

Constructor Summary
MultiFileEventSource(String fileName, String filePath)
           
 
Method Summary
 boolean accept(File dir, String name)
           
 void afterLastEvent()
           
 void beforeFirstEvent()
           
 void close()
           
 Class getEventDataClass()
           
 String getName()
           
 EventData getNextEvent()
           
 int getTotalNumberOfEvents()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiFileEventSource

public MultiFileEventSource(String fileName,
                            String filePath)
                     throws ModuleException
Method Detail

accept

public boolean accept(File dir,
                      String name)
Specified by:
accept in interface FilenameFilter

close

public void close()
Specified by:
close in interface EventSource

getNextEvent

public EventData getNextEvent()
                       throws EndOfDataException
Specified by:
getNextEvent in interface EventSource

getEventDataClass

public Class getEventDataClass()
Specified by:
getEventDataClass in interface EventSource

getTotalNumberOfEvents

public int getTotalNumberOfEvents()
Specified by:
getTotalNumberOfEvents in interface EventSource

getName

public String getName()
Specified by:
getName in interface EventSource

beforeFirstEvent

public void beforeFirstEvent()
Specified by:
beforeFirstEvent in interface EventSource

afterLastEvent

public void afterLastEvent()
Specified by:
afterLastEvent in interface EventSource


The LCD Group