Class EventListReader

  • All Implemented Interfaces:
    Events

    public class EventListReader
    extends java.lang.Object
    implements Events
    • Constructor Detail

      • EventListReader

        public EventListReader​(java.lang.String fileName)
    • Method Detail

      • close

        public void close()
      • hasNext

        public boolean hasNext()
        Description copied from interface: Events
        Returns @true if the Events has more elements.
        Specified by:
        hasNext in interface Events
        Returns:
        true if the Events has more elements.
      • readNext

        public ConcreteEvent readNext()
        Description copied from interface: Events
        Returns the next event ConcreteEvent in the Events.
        Specified by:
        readNext in interface Events
        Returns:
        the next event.
      • getCurrentEvent

        public ConcreteEvent getCurrentEvent()
        Description copied from interface: Events
        Returns the current event ConcreteEvent.
        Specified by:
        getCurrentEvent in interface Events
        Returns:
        the current event.