Interface StringConverter<T>

    • Method Detail

      • toString

        String toString​(T obj)
        Converts the specified object to a String representation and returns that representation. The represenation should be such that fromString can recreate the Object.
        Parameters:
        obj - the Object to convert.
        Returns:
        a String representation of the Object.
      • fromString

        T fromString​(String strRep)
        Creates an Object from a String representation.
        Parameters:
        strRep - the string representation
        Returns:
        the created Object.