ResolvedLocale Class

com.bea.netuix.servlets.l10n
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

Constructor Summary

ResolvedLocale()

ResolvedLocale(String uri, String resolvedUri, Locale locale)

 

Method Summary

public Locale
getLocale()
public String
getLocalizedUri()
public String
getOriginalUri()
public void
setLocale(Locale locale)
public void
setLocalizedUri(String uri)
public void
setOriginalUri(String uri)
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

ResolvedLocale

public ResolvedLocale()

ResolvedLocale

public ResolvedLocale(String uri, 
                      String resolvedUri, 
                      Locale locale)
 

Method Detail

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)