Interface Converter<K>

Type Parameters:
K - the Object to convert the String to
All Known Implementing Classes:
AbstractConverter, ByteArrayConverter, CharacterConverter, CharArrayConverter, CharsetConverter, CurrencyConverter, CustomBooleanConverter, CustomNumberConverter, DateConverter, EasyAbstractConverter, EnumConverter, PatternConverter, StringConverter, TimeZoneConverter

public interface Converter<K>
Stateless converter from String to Object.
  • Method Details

    • fromString

      K fromString(String text) throws Exception
      From string.
      Parameters:
      text - the text
      Returns:
      the k
      Throws:
      Exception - the exception
    • toString

      String toString(K value) throws Exception
      To string.
      Parameters:
      value - the value
      Returns:
      the string
      Throws:
      Exception - the exception
    • infoOnType

      String infoOnType()
      Info on type.
      Returns:
      the string
    • getType

      Class<K> getType()
      Gets the type.
      Returns:
      the type