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
    parse(String key, String value)
    Parse value associated with key, raising an exception if this cannot occur for any reason.
  • Method Details

    • parse

      T parse(String key, String value) throws 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:
      Exception - On errors