|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyContext
Provides context information for a given property.
Where PropertiesContext
provides context information for all properties that are of that context (i.e. loaded from the same archive), instances of this class provide convenient access to that context information by storing the key (i.e. the descriptor) for further requests. Clients are therefore only required to reference the property context instance and not the properties context instance together with the property descriptor.
Method Summary | |
---|---|
String |
getHomePageUrl() Returns the URL to the home page of the project. |
String |
getHomePageUrl(Locale locale) Returns the URL to the home page of the project in the given locale. |
PropertiesContext |
getPropertiesContext() Returns the context of the properties. |
String |
getPropertiesReportIndexUrl() Returns the URL to the index document of properties reports. |
String |
getPropertiesReportIndexUrl(Locale locale) Returns the URL to the index document of properties reports. |
String |
getPropertiesReportUrl() Returns the URL to the root directory of properties reports. |
String |
getPropertiesReportUrl(Locale locale) Returns the URL to the root directory of properties reports. |
String |
getPropertyReportUrl() Returns the URL to the report documentation for the given descriptor. |
String |
getPropertyReportUrl(Locale locale) Returns the URL to the report documentation for the given descriptor. |
List<Locale> |
getSupportedLocales() Returns the list of supported locales. |
Method Detail |
---|
PropertiesContext getPropertiesContext()
String getHomePageUrl()
String getHomePageUrl(Locale locale)
locale
- the identifier of the requested localized resource.
String getPropertiesReportIndexUrl()
String getPropertiesReportIndexUrl(Locale locale)
locale
- the identifier of the requested localized resource.
String getPropertiesReportUrl()
String getPropertiesReportUrl(Locale locale)
locale
- the identifier of the requested localized resource.
String getPropertyReportUrl()
String getPropertyReportUrl(Locale locale)
locale
- the identifier of the requested localized resource.
List<Locale> getSupportedLocales()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |