Interface JPropertyParsing.ParseFunctionType<T>

Type Parameters:
T - The type of returned values.
Enclosing class:
JPropertyParsing

public static interface JPropertyParsing.ParseFunctionType<T>
A parse function.
  • Method Summary

    Modifier and Type Method Description
    T parse​(java.lang.String key, java.lang.String value)
    Parse value associated with key, raising an exception if this cannot occur for any reason.
  • Method Details

    • parse

      T parse​(java.lang.String key, java.lang.String value) throws java.lang.Exception
      Parse value associated with key, raising an exception if this cannot occur for any reason.
      Parameters:
      key - The name of the key
      value - The text of the value
      Returns:
      A parsed value
      Throws:
      java.lang.Exception - On errors