Package org.keycloak.theme
Class FolderThemeProvider
- java.lang.Object
-
- org.keycloak.theme.FolderThemeProvider
-
- All Implemented Interfaces:
Provider
,ThemeProvider
public class FolderThemeProvider extends Object implements ThemeProvider
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description FolderThemeProvider(File themesDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getProviderPriority()
Theme
getTheme(String name, Theme.Type type)
boolean
hasTheme(String name, Theme.Type type)
Set<String>
nameSet(Theme.Type type)
-
-
-
Constructor Detail
-
FolderThemeProvider
public FolderThemeProvider(File themesDir)
-
-
Method Detail
-
getProviderPriority
public int getProviderPriority()
- Specified by:
getProviderPriority
in interfaceThemeProvider
-
getTheme
public Theme getTheme(String name, Theme.Type type) throws IOException
- Specified by:
getTheme
in interfaceThemeProvider
- Throws:
IOException
-
nameSet
public Set<String> nameSet(Theme.Type type)
- Specified by:
nameSet
in interfaceThemeProvider
-
hasTheme
public boolean hasTheme(String name, Theme.Type type)
- Specified by:
hasTheme
in interfaceThemeProvider
-
-