Package org.keycloak.theme
Class ClassLoaderTheme
- java.lang.Object
-
- org.keycloak.theme.ClassLoaderTheme
-
- All Implemented Interfaces:
org.keycloak.theme.Theme
public class ClassLoaderTheme extends Object implements org.keycloak.theme.Theme
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description ClassLoaderTheme(String name, org.keycloak.theme.Theme.Type type, ClassLoader classLoader)
-
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()voidinit(String name, org.keycloak.theme.Theme.Type type, ClassLoader classLoader)
-
-
-
Constructor Detail
-
ClassLoaderTheme
public ClassLoaderTheme(String name, org.keycloak.theme.Theme.Type type, ClassLoader classLoader) throws IOException
- Throws:
IOException
-
-
Method Detail
-
init
public void init(String name, org.keycloak.theme.Theme.Type type, ClassLoader classLoader) throws IOException
- Throws:
IOException
-
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)
- Specified by:
getTemplatein interfaceorg.keycloak.theme.Theme
-
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
-
-