Package org.keycloak.theme
Class FolderTheme
- java.lang.Object
-
- org.keycloak.theme.FolderTheme
-
- All Implemented Interfaces:
org.keycloak.theme.Theme
public class FolderTheme extends Object implements org.keycloak.theme.Theme
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description FolderTheme(File themeDir, String name, org.keycloak.theme.Theme.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetImportName()PropertiesgetMessages(String baseBundlename, Locale locale)PropertiesgetMessages(Locale locale)StringgetName()StringgetParentName()PropertiesgetProperties()InputStreamgetResourceAsStream(String path)URLgetTemplate(String name)org.keycloak.theme.Theme.TypegetType()
-
-
-
Constructor Detail
-
FolderTheme
public FolderTheme(File themeDir, String name, org.keycloak.theme.Theme.Type type) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.keycloak.theme.Theme
-
getParentName
public String getParentName()
- Specified by:
getParentNamein interfaceorg.keycloak.theme.Theme
-
getImportName
public String getImportName()
- Specified by:
getImportNamein interfaceorg.keycloak.theme.Theme
-
getType
public org.keycloak.theme.Theme.Type getType()
- Specified by:
getTypein interfaceorg.keycloak.theme.Theme
-
getTemplate
public URL getTemplate(String name) throws IOException
- Specified by:
getTemplatein interfaceorg.keycloak.theme.Theme- Throws:
IOException
-
getResourceAsStream
public InputStream getResourceAsStream(String path) throws IOException
- Specified by:
getResourceAsStreamin interfaceorg.keycloak.theme.Theme- Throws:
IOException
-
getMessages
public Properties getMessages(Locale locale) throws IOException
- Specified by:
getMessagesin interfaceorg.keycloak.theme.Theme- Throws:
IOException
-
getMessages
public Properties getMessages(String baseBundlename, Locale locale) throws IOException
- Specified by:
getMessagesin interfaceorg.keycloak.theme.Theme- Throws:
IOException
-
getProperties
public Properties getProperties()
- Specified by:
getPropertiesin interfaceorg.keycloak.theme.Theme
-
-