Class StyleHelper
java.lang.Object
com.kazurayam.materialstore.base.report.StyleHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
The "style.css" file is generated from the "style.scss" file.static String
loadStyleFromClasspath
(String cssPath)
-
Method Details
-
loadStyleFromClasspath
The "style.css" file is generated from the "style.scss" file. The SCSS file is located in the src/main/resources/com/kazurayam/materialstore/reporter directory. This method loads the style.css file from the runtime CLASSPATH.The SCSS file is compiled by the "Node scss" module and driven by IntelliJ IDEA + File Watcher. See https://www.jetbrains.com/help/idea/transpiling-sass-less-and-scss-to-css.html#less_sass_scss_compiling_to_css
- Returns:
- a css content which should be embedded in the HTML file generated by MaterialListReporterImplMB and MProductGroupReporterImplMB
- Throws:
MaterialstoreException
- when filed to load the css
-
loadStyleFromClasspath
- Throws:
MaterialstoreException
-
getCSS_PATH
-