Interface LabelLocator2

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • locate

        java.io.InputStream locate​(java.util.Locale locale)
        Returns the input stream containing the label for the specified locale, or null if not available.

        It must be thread-safe.

      • getCharset

        java.lang.String getCharset()
        Returns the encoding charset, or null if it is the same as the system default.

        The system default is decided by the library property called org.zkoss.util.label.web.charset. If not specified, UTF-8 is assumed.