public class FolderTheme extends Object implements Theme
Theme.Type
Constructor and Description |
---|
FolderTheme(File themeDir,
String name,
Theme.Type type) |
Modifier and Type | Method and Description |
---|---|
String |
getImportName() |
Properties |
getMessages(Locale locale) |
Properties |
getMessages(String baseBundlename,
Locale locale) |
String |
getName() |
String |
getParentName() |
Properties |
getProperties() |
InputStream |
getResourceAsStream(String path) |
URL |
getTemplate(String name) |
Theme.Type |
getType() |
public FolderTheme(File themeDir, String name, Theme.Type type) throws IOException
IOException
public String getParentName()
getParentName
in interface Theme
public String getImportName()
getImportName
in interface Theme
public Theme.Type getType()
public URL getTemplate(String name) throws IOException
getTemplate
in interface Theme
IOException
public InputStream getResourceAsStream(String path) throws IOException
getResourceAsStream
in interface Theme
IOException
public Properties getMessages(Locale locale) throws IOException
getMessages
in interface Theme
IOException
public Properties getMessages(String baseBundlename, Locale locale) throws IOException
getMessages
in interface Theme
IOException
public Properties getProperties()
getProperties
in interface Theme
Copyright © 2019 JBoss by Red Hat. All rights reserved.