ResolvedLocale Class
- public class ResolvedLocale
extends Object
implements Serializable
Encapsulates information about a resolved Locale, including
the original URI, the resolved URI and the Locale object
that matches the resolution.
-
Hierarchy
-
Object
ResolvedLocale
-
All Implemented Interfaces
-
Serializable
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResolvedLocale
public ResolvedLocale()
ResolvedLocale
public ResolvedLocale(String uri,
String resolvedUri,
Locale locale)
getLocale() Method
public Locale getLocale()
Returns
- the
Locale object matching a localization operation for a resource
getLocalizedUri() Method
public String getLocalizedUri()
Returns
- the URI to the localized version of a resource
getOriginalUri() Method
public String getOriginalUri()
Returns
- the original unmodified URI to a resource
setLocale(Locale) Method
public void setLocale(Locale locale)
setLocalizedUri(String) Method
public void setLocalizedUri(String uri)
setOriginalUri(String) Method
public void setOriginalUri(String uri)