public class ThemeUtilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<IFileSpecification,String> |
THEME_FILE_TO_NAME
A function to get theme name from a theme file specification.
|
public static final com.google.common.base.Function<IFileSpecification,String> THEME_FILE_TO_NAME
public static String getThemeName(String filename)
C:\workspace\project\themes\MyTheme.swc - theme name is
"MyTheme"path/to/foo-1.0.0.css - theme name is "foo"Spark.css - theme name is "Spark"filename - Path of the theme file.Copyright © 2016 The Apache Software Foundation. All rights reserved.