Class LocationUtils


  • public class LocationUtils
    extends Object
    • Constructor Detail

      • LocationUtils

        public LocationUtils()
    • Method Detail

      • getEffectiveLocationName

        public static String getEffectiveLocationName​(String locationName)
        Returns the effective location name, using the default value if the given location name is null or an empty string.
        Parameters:
        locationName -
        Returns:
        the effective location name
      • isDefaultLocationName

        public static boolean isDefaultLocationName​(String locationName)
        Returns true if the given location name is null, an empty string, or the system default.
        Parameters:
        locationName -
        Returns:
      • doesLocationsMatch

        public static boolean doesLocationsMatch​(String location1,
                                                 String location2)