public final class PathFormatHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getRootResourceAlias(String resourceName,
String pathPrefix)
Returns the alias for a resource that will placed under the /VAADIN/
folder.
|
static String |
getRootResourcePath(String resourceName)
Returns the expected/default path of the resource in the source bundle.
|
static String |
getThemeAlias(String themeName,
String pathPrefix)
Returns the alias for the theme given a the theme name and a path prefix.
|
static String |
getThemePath(String themeName)
Returns the expected/default path of the theme folder in the source
bundle.
|
static String |
getWidgetsetAlias(String widgetsetName,
String pathPrefix)
Returns the alias for a widgetset given a the widgetset name and a path
prefix.
|
static String |
getWidgetsetPath(String widgetsetName)
Returns the expected/default path of the widgetset folder in the source
bundle.
|
public static String getThemeAlias(String themeName, String pathPrefix)
themeName - the theme namepathPrefix - the prefix for the /VAADIN/ folderpublic static String getThemePath(String themeName)
themeName - the name of the themepublic static String getWidgetsetAlias(String widgetsetName, String pathPrefix)
widgetsetName - the name of the widgetsetpathPrefix - the prefix for the /VAADIN/ folderpublic static String getWidgetsetPath(String widgetsetName)
widgetsetName - the name of the widgetsetpublic static String getRootResourceAlias(String resourceName, String pathPrefix)
resourceName - the name of the resourcepathPrefix - the prefix for the /VAADIN/ folderCopyright © 2021 Vaadin Ltd. All rights reserved.