Class IntTypeConverter

  • All Implemented Interfaces:
    TypeConverter<java.lang.Integer>

    public class IntTypeConverter
    extends java.lang.Object
    implements TypeConverter<java.lang.Integer>
    String to Integer converter.
    Author:
    Erhan Bagdemir
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer convert​(java.lang.String input)
      Convert String value to the target type.
      • Methods inherited from class java.lang.Object

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

      • IntTypeConverter

        public IntTypeConverter()
    • Method Detail

      • convert

        public java.lang.Integer convert​(java.lang.String input)
        Description copied from interface: TypeConverter
        Convert String value to the target type.
        Specified by:
        convert in interface TypeConverter<java.lang.Integer>
        Parameters:
        input - Input string.
        Returns:
        The value of input in target type.