org.apache.hivemind.util
Class LocalizedResource

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

public class LocalizedResource
extends java.lang.Object

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

Author:
Mindbridge

Constructor Summary
LocalizedResource(java.lang.String resourcePath, java.util.Locale resourceLocale)
           
 
Method Summary
 java.util.Locale getResourceLocale()
           
 java.lang.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(java.lang.String resourcePath,
                         java.util.Locale resourceLocale)
Method Detail

getResourceLocale

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

getResourcePath

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.