Package org.keycloak.theme
Class FileBasedTheme
java.lang.Object
org.keycloak.theme.FileBasedTheme
- All Implemented Interfaces:
Theme
- Direct Known Subclasses:
ClassLoaderTheme,FolderTheme
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.theme.Theme
Theme.Type -
Field Summary
Fields inherited from interface org.keycloak.theme.Theme
ACCOUNT_RESOURCE_PROVIDER_KEY, CONTENT_HASH_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMessages(String baseBundlename, Locale locale) protected abstract voidloadBundle(String baseBundlename, Locale locale, Properties m) toBundleName(String baseName, Locale locale) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.theme.Theme
getEnhancedMessages, getImportName, getMessages, getName, getParentName, getProperties, getResourceAsStream, getTemplate, getType, hasContentHash
-
Constructor Details
-
FileBasedTheme
public FileBasedTheme()
-
-
Method Details
-
loadBundle
protected abstract void loadBundle(String baseBundlename, Locale locale, Properties m) throws IOException - Throws:
IOException
-
getMessages
- Specified by:
getMessagesin interfaceTheme- Throws:
IOException
-
toBundleName
-