Class ParameterisedAddress


  • public class ParameterisedAddress
    extends Object
    • Method Detail

      • isParameterised

        public boolean isParameterised()
      • isParameterised

        public static boolean isParameterised​(String address)
      • isParameterised

        public static boolean isParameterised​(SimpleString address)
      • extractParameters

        public static Map<String,​String> extractParameters​(String address)
        Given an address string, extract only the query portion if the address is parameterized, otherwise return an empty Map.
        Parameters:
        address - The address to operate on.
        Returns:
        a Map containing the parameters associated with the given address.
      • extractAddress

        public static String extractAddress​(String address)
        Given an address string, extract only the address portion if the address is parameterized, otherwise just return the provided address.
        Parameters:
        address - The address to operate on.
        Returns:
        the original address minus any appended parameters.