public class FolderTheme extends Object implements Theme
Theme.Type| Constructor and Description |
|---|
FolderTheme(File themeDir,
Theme.Type type) |
| 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() |
public FolderTheme(File themeDir, Theme.Type type) throws IOException
IOExceptionpublic 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() throws IOException
getMessages in interface ThemeIOExceptionpublic Properties getProperties()
getProperties in interface ThemeCopyright © 2014. All Rights Reserved.