Class AbstractConsumer

    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
    • Method Detail

      • parseDate

        protected Date parseDate​(String date,
                                 String userPattern,
                                 String defaultPattern)
        Converts the date timestamp from the output into a date object.
        Parameters:
        date - TODO
        userPattern - TODO
        defaultPattern - TODO
        Returns:
        A date representing the timestamp of the log entry.
      • parseDate

        protected Date parseDate​(String date,
                                 String userPattern,
                                 String defaultPattern,
                                 Locale locale)
        Converts the date timestamp from the output into a date object.
        Parameters:
        date - TODO
        userPattern - TODO
        defaultPattern - TODO
        locale - TODO
        Returns:
        A date representing the timestamp of the log entry.