Interface Theme

    • Method Detail

      • getParentName

        String getParentName()
      • getImportName

        String getImportName()
      • getMessages

        Properties getMessages​(Locale locale)
                        throws IOException
        Same as getMessages(baseBundlename, locale), but uses a default baseBundlename such as "messages".
        Parameters:
        locale - The locale of the desired message bundle.
        Returns:
        The localized messages from the bundle.
        Throws:
        IOException - If bundle can not be read.
      • getMessages

        Properties getMessages​(String baseBundlename,
                               Locale locale)
                        throws IOException
        Retrieve localized messages from a message bundle.
        Parameters:
        baseBundlename - The base name of the bundle, such as "messages" in messages_en.properties.
        locale - The locale of the desired message bundle.
        Returns:
        The localized messages from the bundle.
        Throws:
        IOException - If bundle can not be read.