Class DurationTypeConverter$

  • All Implemented Interfaces:
    org.apache.camel.TypeConverter

    public class DurationTypeConverter$
    extends org.apache.camel.support.TypeConverterSupport
    INTERNAL API Converts Strings to Duration
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static DurationTypeConverter$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T convertTo​(java.lang.Class<T> valueType, org.apache.camel.Exchange exchange, java.lang.Object value)  
      • Methods inherited from class org.apache.camel.support.TypeConverterSupport

        allowNull, convertTo, mandatoryConvertTo, mandatoryConvertTo, tryConvertTo, tryConvertTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final DurationTypeConverter$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • DurationTypeConverter$

        public DurationTypeConverter$()
    • Method Detail

      • convertTo

        public <T> T convertTo​(java.lang.Class<T> valueType,
                               org.apache.camel.Exchange exchange,
                               java.lang.Object value)
                        throws org.apache.camel.TypeConversionException
        Throws:
        org.apache.camel.TypeConversionException