jasext.hepevt
Class HepEventSource

java.lang.Object
  |
  +--jasext.hepevt.HepEventSource
All Implemented Interfaces:
EventSource

public class HepEventSource
extends java.lang.Object
implements EventSource


Constructor Summary
HepEventSource(java.lang.String filename)
           
 
Method Summary
 void afterLastEvent()
           
 void beforeFirstEvent()
           
 void close()
           
 void finalize()
           
 java.lang.Class getEventDataClass()
           
 java.lang.String getName()
           
 EventData getNextEvent()
           
 int getTotalNumberOfEvents()
           
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HepEventSource

public HepEventSource(java.lang.String filename)
               throws ModuleException
Method Detail

getEventDataClass

public java.lang.Class getEventDataClass()
Specified by:
getEventDataClass in interface EventSource

close

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

getTotalNumberOfEvents

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

getNextEvent

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

getName

public java.lang.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

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

main

public static void main(java.lang.String[] argv)