org.apache.tapestry.util
Class LocalizedResource

java.lang.Object
  extended by org.apache.tapestry.util.LocalizedResource

public class LocalizedResource
extends Object

Contains the path to a localized resource and the locale for which it has been localized. This object is immutable.

Since:
3.0
Version:
$Id: LocalizedResource.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Mindbridge

Constructor Summary
LocalizedResource(String resourcePath, Locale resourceLocale)
           
 
Method Summary
 Locale getResourceLocale()
           
 String getResourcePath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizedResource

public LocalizedResource(String resourcePath,
                         Locale resourceLocale)
Method Detail

getResourceLocale

public Locale getResourceLocale()
Returns:
the locale for which this resource has been localized or null if it has not been localized at all

getResourcePath

public String getResourcePath()
Returns:
the path to the localized resource