Package org.zkoss.util.resource
Interface LabelLocator
public interface LabelLocator
A locater used to locate extra resource for
Labels.
Once registered (by Labels.register(LabelLocator)), the label loader
will invoke locate(java.util.Locale) to locate any extra resource.
If the resource is not easy to be represented in URL, you could implement
LabelLocator2 instead.
- Author:
- tomyeh
- See Also:
-
Method Summary
-
Method Details
-
locate
Returns URL containing the labels for the specified locale, or null if not available.It must be thread-safe.
- Throws:
Exception
-