public class ClassLoaderTheme extends Object implements Theme
Theme.Type| Constructor and Description |
|---|
ClassLoaderTheme() |
ClassLoaderTheme(String name,
Theme.Type type,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
String |
getImportName() |
Properties |
getMessages() |
String |
getName() |
String |
getParentName() |
Properties |
getProperties() |
URL |
getResource(String path) |
InputStream |
getResourceAsStream(String path) |
URL |
getTemplate(String name) |
InputStream |
getTemplateAsStream(String name) |
Theme.Type |
getType() |
void |
init(String name,
Theme.Type type,
ClassLoader classLoader) |
public ClassLoaderTheme(String name, Theme.Type type, ClassLoader classLoader) throws IOException
IOExceptionpublic ClassLoaderTheme()
public void init(String name, Theme.Type type, ClassLoader classLoader) throws IOException
IOExceptionpublic String getParentName()
getParentName in interface Themepublic String getImportName()
getImportName in interface Themepublic Theme.Type getType()
public URL getTemplate(String name)
getTemplate in interface Themepublic InputStream getTemplateAsStream(String name)
getTemplateAsStream in interface Themepublic URL getResource(String path)
getResource in interface Themepublic InputStream getResourceAsStream(String path)
getResourceAsStream in interface Themepublic Properties getMessages() throws IOException
getMessages in interface ThemeIOExceptionpublic Properties getProperties()
getProperties in interface ThemeCopyright © 2014. All Rights Reserved.