Type Parameters:
T - the value type

public interface Parser<T>
Parses a value from a string
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The result of parsing a value from a String
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(String text)
    Parses a value from the given text
  • Method Details

    • parse

      Parser.ParseResult<T> parse(String text)
      Parses a value from the given text
      Parameters:
      text - the text to parse
      Returns:
      a parse result