Class Value<T>

java.lang.Object
com.github.mizool.core.configuration.Value<T>

public final class Value<T> extends Object
An object that allows type-safe access to the value of a PropertyNode.
  • Method Details

    • read

      public Optional<T> read()
      Throws:
      ConfigurationException - if the present, non-empty value could not be parsed according to the type specified
    • obtain

      public T obtain()
      Throws:
      ConfigurationException - if the present, non-empty value could not be parsed according to the type specified