com.vaadin.server.themeutils
Class SASSAddonImportFileCreator
java.lang.Object
com.vaadin.server.themeutils.SASSAddonImportFileCreator
public class SASSAddonImportFileCreator
- extends java.lang.Object
Helper class for managing the addon imports and creating an a SCSS file for
importing all your addon themes. The helper method searches the classpath for
Vaadin addons and uses the 'Vaadin-Themes' metadata to create the imports.
The addons.scss is always overwritten when this tool is invoked.
- Since:
- 7.1
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
updateTheme(java.lang.String themeDirectory)
Updates a themes addons.scss with the addon themes found on the classpath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SASSAddonImportFileCreator
public SASSAddonImportFileCreator()
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Parameters:
args
- Theme directory where the addons.scss file should be created
- Throws:
java.io.IOException
updateTheme
public static void updateTheme(java.lang.String themeDirectory)
throws java.io.IOException
- Updates a themes addons.scss with the addon themes found on the classpath
- Parameters:
themeDirectory
- The target theme directory
- Throws:
java.io.IOException
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.