public class LocationUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LOCATION_NAME |
Constructor and Description |
---|
LocationUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
doesLocationsMatch(String location1,
String location2) |
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.
|
static boolean |
isDefaultLocationName(String locationName)
Returns true if the given location name is null, an empty string,
or the system default.
|
public static final String DEFAULT_LOCATION_NAME
public static String getEffectiveLocationName(String locationName)
locationName
- public static boolean isDefaultLocationName(String locationName)
locationName
- Copyright © 2021. All rights reserved.