Package org.bitcoinj.base
Interface AddressParser.AddressParserProvider
- Enclosing interface:
- AddressParser
public static interface AddressParser.AddressParserProvider
Interface implemented by custom address parser providers.
-
Method Summary
Modifier and TypeMethodDescriptionReturn a parser that will parse valid addresses for all networks (Network
) known by this provider.forNetwork
(Network network) Return a parser that will parse valid addresses for a givenNetwork
.
-
Method Details
-
forKnownNetworks
AddressParser forKnownNetworks()Return a parser that will parse valid addresses for all networks (Network
) known by this provider.- Returns:
- a parser for all networks known by this provider
-
forNetwork
Return a parser that will parse valid addresses for a givenNetwork
.- Parameters:
network
- network to parse and validate addresses for- Returns:
- a parser for the specified network
-