Class DateTokenConverter<E>

    • Field Detail

      • CONVERTER_KEY

        public static final java.lang.String CONVERTER_KEY
        Deprecated.
        The conversion word/character with which this converter is registered.
        See Also:
        Constant Field Values
      • AUXILIARY_TOKEN

        public static final java.lang.String AUXILIARY_TOKEN
        Deprecated.
        See Also:
        Constant Field Values
      • DEFAULT_DATE_PATTERN

        public static final java.lang.String DEFAULT_DATE_PATTERN
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DateTokenConverter

        public DateTokenConverter()
        Deprecated.
    • Method Detail

      • start

        public void start()
        Deprecated.
        Description copied from class: DynamicConverter
        Components that depend on options passed during configuration can override this method in order to make appropriate use of those options. For simpler components, the trivial implementation found in this abstract class will be sufficient.
        Specified by:
        start in interface LifeCycle
        Overrides:
        start in class DynamicConverter<E>
      • convert

        public java.lang.String convert​(java.util.Date date)
        Deprecated.
      • convert

        public java.lang.String convert​(java.lang.Object o)
        Deprecated.
        Description copied from class: Converter
        The convert method is responsible for extracting data from the event and storing it for later use by the write method.
        Specified by:
        convert in class Converter<E>
      • getDatePattern

        public java.lang.String getDatePattern()
        Deprecated.
        Return the date pattern.
      • getTimeZone

        public java.util.TimeZone getTimeZone()
        Deprecated.
      • toRegex

        public java.lang.String toRegex()
        Deprecated.
      • isPrimary

        public boolean isPrimary()
        Deprecated.