public class URLUtility extends Object
Modifier and Type | Method and Description |
---|---|
static String |
changeLanguageForUrl(String url)
Generates a new URL to the API by replacing the current locale in the URL with the default
fallback locale's language (swedish).
|
static String |
changeLanguageForUrl(String url,
Locale fallback)
Generates a new URL to the API by replacing the current locale in the URL with the specified
fallback locale.
|
Copyright © 2016. All rights reserved.