|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
LabelLocator2
Method Summary | |
---|---|
java.net.URL |
locate(java.util.Locale locale)
Returns URL containing the labels for the specified locale, or null if not available. |
Method Detail |
---|
java.net.URL locate(java.util.Locale locale) throws java.lang.Exception
It must be thread-safe.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |