public static class ExtendingThemeManager.ExtendingTheme extends Object implements Theme
Theme.Type| Constructor and Description |
|---|
ExtendingTheme(List<Theme> themes) |
| Modifier and Type | Method and Description |
|---|---|
String |
getImportName() |
Properties |
getMessages(Locale locale)
Same as getMessages(baseBundlename, locale), but uses a default baseBundlename
such as "messages".
|
Properties |
getMessages(String baseBundlename,
Locale locale)
Retrieve localized messages from a message bundle.
|
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() |
public String getParentName()
getParentName in interface Themepublic String getImportName()
getImportName in interface Themepublic Theme.Type getType()
public URL getTemplate(String name) throws IOException
getTemplate in interface ThemeIOExceptionpublic InputStream getTemplateAsStream(String name) throws IOException
getTemplateAsStream in interface ThemeIOExceptionpublic URL getResource(String path) throws IOException
getResource in interface ThemeIOExceptionpublic InputStream getResourceAsStream(String path) throws IOException
getResourceAsStream in interface ThemeIOExceptionpublic Properties getMessages(Locale locale) throws IOException
ThemegetMessages in interface Themelocale - The locale of the desired message bundle.IOException - If bundle can not be read.public Properties getMessages(String baseBundlename, Locale locale) throws IOException
ThemegetMessages in interface ThemebaseBundlename - The base name of the bundle, such as "messages" in
messages_en.properties.locale - The locale of the desired message bundle.IOException - If bundle can not be read.public Properties getProperties() throws IOException
getProperties in interface ThemeIOExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.