org.apache.tapestry.util
Class LocalizedResource
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalizedResource
public LocalizedResource(String resourcePath,
Locale resourceLocale)
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