org.zkoss.util.resource
Interface LabelLocator

All Known Implementing Classes:
ServletLabelLocator

public interface LabelLocator

A locater used to locate extra resource for Labels. Once registered (by Labels.register(org.zkoss.util.resource.LabelLocator)), the label loader will invoke locate(java.util.Locale) to locate any extra resource. If so, it will load labels from it.

Author:
tomyeh

Method Summary
 java.net.URL locate(java.util.Locale locale)
          Returns URL for the specified locale, or null if not available.
 

Method Detail

locate

java.net.URL locate(java.util.Locale locale)
                    throws java.lang.Exception
Returns URL for the specified locale, or null if not available.

It must be thread-safe.

Throws:
java.lang.Exception


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo