Class ApplicationBean.ThemeInfo
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.beans.ApplicationBean.ThemeInfo
-
- Enclosing class:
- ApplicationBean
public static class ApplicationBean.ThemeInfo extends Object
Hold the names of the available themes, the name of the default theme, and the base directory that contains the theme directories. The theme names are stored as simple strings, like "wilma". To be backwards compatible, we need to be able to test a string like "themes/wilma/ to see whether it is available, or to return the default directory in that form.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultThemeDir()StringgetDefaultThemeName()List<String>getThemeNames()FilegetThemesBaseDir()booleanisValidThemeDir(String themeDir)static StringthemeNameFromDir(String themeDir)
-