Interface AddressParser.Strict

  • All Known Implementing Classes:
    Wallet
    Enclosing interface:
    AddressParser
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface AddressParser.Strict
    • Method Detail

      • parseAddress

        Address parseAddress​(java.lang.String addressString)
                      throws AddressFormatException
        Parse an address in a strict context (e.g. the network must be valid)
        Parameters:
        addressString - string representation of address
        Returns:
        A validated address object
        Throws:
        AddressFormatException - invalid address string or not valid for network (provided by context)