Interface ValueParser<U>

  • Type Parameters:
    U - The type of the value to parse

    @Deprecated
    @InternalApi
    public interface ValueParser<U>
    Deprecated.
    Parses a value from a string.
    • Method Detail

      • valueOf

        U valueOf​(java.lang.String value)
           throws java.lang.IllegalArgumentException
        Deprecated.
        Extracts a primitive from a string.
        Parameters:
        value - The string to parse
        Returns:
        The primitive found
        Throws:
        java.lang.IllegalArgumentException - if the value couldn't be parsed