public abstract class PostfixedApplicationResource extends Object implements ApplicationResource
For instance:
/WEB-INF/tiles.xml /WEB-INF/tiles_fr.xml /WEB-INF/tiles_it.xml /WEB-INF/tiles_it_IT.xmlTwo PostfixedApplicationResources are equals if they share the same localized path and the same class.
| Modifier | Constructor and Description | 
|---|---|
| protected  | PostfixedApplicationResource(String localePath)Create a new PostfixedApplicationResource for the specified path. | 
| protected  | PostfixedApplicationResource(String path,
                            Locale locale)Create a new PostfixedApplicationResource for the specified path. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| Locale | getLocale()Get the Locale for this resource. | 
| String | getLocalePath()Get the path name for this resource. | 
| String | getLocalePath(Locale newLocale)Get the path name of another version of the resource. | 
| String | getPath()Get the path name for this resource. | 
| int | hashCode() | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetInputStream, getLastModifiedprotected PostfixedApplicationResource(String localePath)
localePath - the path including localization.public final String getLocalePath()
getResource.getLocalePath in interface ApplicationResourcepublic final String getPath()
getPath in interface ApplicationResourcepublic final String getLocalePath(Locale newLocale)
getLocalePath in interface ApplicationResourcenewLocale - the Locale for the new version.public final Locale getLocale()
getLocale in interface ApplicationResourceCopyright © 2000–2025 Apache Software Foundation. All rights reserved.