public interface LabelLocator2
Labels
into
an input stream.
Once registered (by Labels.register(LabelLocator2)
), the label loader
will invoke locate(java.util.Locale)
to locate any extra resource.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCharset()
Returns the encoding charset, or null if it is the same as the system default.
|
java.io.InputStream |
locate(java.util.Locale locale)
Returns the input stream containing the label for the specified locale,
or null if not available.
|
java.io.InputStream locate(java.util.Locale locale)
It must be thread-safe.
java.lang.String getCharset()
The system default is decided by the library property called org.zkoss.util.label.web.charset. If not specified, UTF-8 is assumed.
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.