Package org.keycloak.theme
Interface Theme
- 
- All Known Implementing Classes:
- ClassLoaderTheme,- FolderTheme
 
 public interface Theme- Author:
- Stian Thorgersen
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classTheme.Type
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetImportName()PropertiesgetMessages(String baseBundlename, Locale locale)Retrieve localized messages from a message bundle.PropertiesgetMessages(Locale locale)Same as getMessages(baseBundlename, locale), but uses a default baseBundlename such as "messages".StringgetName()StringgetParentName()PropertiesgetProperties()InputStreamgetResourceAsStream(String path)URLgetTemplate(String name)Theme.TypegetType()
 
- 
- 
- 
Method Detail- 
getNameString getName() 
 - 
getParentNameString getParentName() 
 - 
getImportNameString getImportName() 
 - 
getTypeTheme.Type getType() 
 - 
getTemplateURL getTemplate(String name) throws IOException - Throws:
- IOException
 
 - 
getResourceAsStreamInputStream getResourceAsStream(String path) throws IOException - Throws:
- IOException
 
 - 
getMessagesProperties 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.
 
 - 
getMessagesProperties 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.
 
 - 
getPropertiesProperties getProperties() throws IOException - Throws:
- IOException
 
 
- 
 
-