Interface ValueParser<TYPE>

  • Type Parameters:
    TYPE - The type of target value
    All Known Implementing Classes:
    PrimitiveAdapter, ValueAdapter
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ValueParser<TYPE>
    Value deserializer, convert base data to target value.
    • Method Detail

      • parse

        TYPE parse​(@NotNull
                   @NotNull ConfigurationHolder<?> holder,
                   @NotNull
                   @NotNull ValueType<? super TYPE> type,
                   @NotNull
                   @NotNull java.lang.Object data)
            throws java.lang.Exception
        Throws:
        java.lang.Exception