Class AbstractEventDataProvider

  • All Implemented Interfaces:
    java.lang.Iterable<EventData>
    Direct Known Subclasses:
    FileSystemEventDataProvider

    public abstract class AbstractEventDataProvider
    extends java.lang.Object
    implements java.lang.Iterable<EventData>
    • Constructor Detail

      • AbstractEventDataProvider

        public AbstractEventDataProvider()
    • Method Detail

      • getStatus

        public abstract long getStatus​(boolean absolute,
                                       boolean done)
        Return the status of the stream. How many bytes have been read.
        Parameters:
        absolute - if return an absolute value or percentage
        done - if return the available byte or done bytes
        Returns:
        long the status of the stream
      • getMaxLength

        public abstract long getMaxLength()
        Returns the maxLength of the inputStream
        Returns:
        the maxLength of the inputStream
      • getConfiguration

        public abstract java.lang.String getConfiguration()
        display String describing th AbstractEventDataProvider