Class ConverterService


  • public class ConverterService
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> java.lang.String toStringRepresentation​(java.lang.Class<?> type, T object)  
      <T> java.lang.Object toValue​(java.lang.Class<T> type, java.lang.String stringRepresentation)  
      • Methods inherited from class java.lang.Object

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

      • ConverterService

        public ConverterService()
    • Method Detail

      • toValue

        public <T> java.lang.Object toValue​(java.lang.Class<T> type,
                                            java.lang.String stringRepresentation)
      • toStringRepresentation

        public <T> java.lang.String toStringRepresentation​(java.lang.Class<?> type,
                                                           T object)
                                                    throws java.lang.IllegalStateException
        Throws:
        java.lang.IllegalStateException