Package org.bitcoinj.base
Interface AddressParser.AddressParserProvider
-
- Enclosing interface:
- AddressParser
public static interface AddressParser.AddressParserProvider
Interface implemented by custom address parser providers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddressParser
forKnownNetworks()
Return a parser that will parse valid addresses for all networks (Network
) known by this provider.AddressParser
forNetwork(Network network)
Return a parser that will parse valid addresses for a givenNetwork
.
-
-
-
Method Detail
-
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
AddressParser forNetwork(Network network)
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
-
-