Documentation of 'jasext.flatfileserver.FlatFileEventSource' Java class
FlatFileEventSource
jasext.flatfileserver

Class FlatFileEventSource

    • Constructor Detail

      • FlatFileEventSource

        public FlatFileEventSource(java.lang.String s)
                            throws jasext.flatfileserver.FlatFileException
        Throws:
        jasext.flatfileserver.FlatFileException
      • FlatFileEventSource

        public FlatFileEventSource()
    • Method Detail

      • getEventDataClass

        public java.lang.Class getEventDataClass()
        Description copied from interface: hepjas.analysis.EventSource
        Specify class of objects to be returned by getNextEvent
        Specified by:
        getEventDataClass in interface hepjas.analysis.EventSource
      • close

        public void close()
        Description copied from interface: hepjas.analysis.EventSource
        Provide some cleanup code if it is relevant to close the event source.
        Specified by:
        close in interface hepjas.analysis.EventSource
      • init

        public void init()
                  throws jasext.flatfileserver.FlatFileException
        Throws:
        jasext.flatfileserver.FlatFileException
      • getDateTimeFormat

        public java.lang.String getDateTimeFormat()
      • setDateTimeFormat

        public void setDateTimeFormat(java.lang.String s)
      • getTimeFormat

        public java.lang.String getTimeFormat()
      • setTimeFormat

        public void setTimeFormat(java.lang.String s)
      • getDateFormat

        public java.lang.String getDateFormat()
      • setDateFormat

        public void setDateFormat(java.lang.String s)
      • getDelim

        public int getDelim()
      • setDelim

        public void setDelim(int c)
      • getQuoteChar

        public int getQuoteChar()
      • setQuoteChar

        public void setQuoteChar(int c)
      • getFileName

        public java.lang.String getFileName()
      • setFileName

        public void setFileName(java.lang.String s)
      • getHasHeaders

        public boolean getHasHeaders()
      • setHasHeaders

        public void setHasHeaders(boolean b)
      • getFirstLineHasTitle

        public boolean getFirstLineHasTitle()
      • setFirstLineHasTitle

        public void setFirstLineHasTitle(boolean b)
      • getGZIP

        public boolean getGZIP()
      • setGZIP

        public void setGZIP(boolean b)
      • getTotalNumberOfEvents

        public int getTotalNumberOfEvents()
        Description copied from interface: hepjas.analysis.EventSource
        Return the number of events, or -1 if unknown.
        Specified by:
        getTotalNumberOfEvents in interface hepjas.analysis.EventSource
      • beforeFirstEvent

        public void beforeFirstEvent()
        Description copied from interface: hepjas.analysis.EventSource
        Called before the first event is accessed.
        Specified by:
        beforeFirstEvent in interface hepjas.analysis.EventSource
      • afterLastEvent

        public void afterLastEvent()
        Description copied from interface: hepjas.analysis.EventSource
        Called after the last event is accessed.
        Specified by:
        afterLastEvent in interface hepjas.analysis.EventSource
      • getNextEvent

        public hepjas.analysis.EventData getNextEvent()
                                               throws hepjas.analysis.EndOfDataException
        Description copied from interface: hepjas.analysis.EventSource
        Return the next event.
        Specified by:
        getNextEvent in interface hepjas.analysis.EventSource
        Throws:
        hepjas.analysis.EndOfDataException - when no more events are available
      • getName

        public java.lang.String getName()
        Description copied from interface: hepjas.analysis.EventSource
        Return a name for your event source.
        Specified by:
        getName in interface hepjas.analysis.EventSource

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.