クラス StyleHelper
- java.lang.Object
-
- com.kazurayam.materialstore.base.report.StyleHelper
-
public final class StyleHelper extends java.lang.Object
-
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static java.lang.String
getCSS_PATH()
static java.lang.String
loadStyleFromClasspath()
The "style.css" file is generated from the "style.scss" file.static java.lang.String
loadStyleFromClasspath(java.lang.String cssPath)
-
-
-
メソッドの詳細
-
loadStyleFromClasspath
public static java.lang.String loadStyleFromClasspath() throws MaterialstoreException
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
- 戻り値:
- a css content which should be embedded in the HTML file generated by MaterialListReporterImplMB and MProductGroupReporterImplMB
- 例外:
MaterialstoreException
- when filed to load the css
-
loadStyleFromClasspath
public static java.lang.String loadStyleFromClasspath(java.lang.String cssPath) throws MaterialstoreException
-
getCSS_PATH
public static java.lang.String getCSS_PATH()
-
-