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,v 1.1 2003/06/29 18:05:41 mindbridge Exp $
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