クラス 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)  
      • クラスから継承されたメソッド java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • メソッドの詳細

      • 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
      • getCSS_PATH

        public static java.lang.String getCSS_PATH()