Interface Path.ParserResult

All Known Implementing Classes:
Path.Address, Path.AddressList, Path.AddrSpec
Enclosing class:
Path

public static interface Path.ParserResult
Methods all Path parser results implement.
Author:
mirabilos (m@mirbsd.org)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether this parser result is actually valid or merely parses but fails further validations (length limits, semantics, etc).
    Returns this parser result in some useful format.
  • Method Details

    • isValid

      boolean isValid()
      Whether this parser result is actually valid or merely parses but fails further validations (length limits, semantics, etc).
      Returns:
      true if valid, false otherwise
    • toString

      String toString()
      Returns this parser result in some useful format.
      Overrides:
      toString in class Object
      Returns:
      String representation