Class PackerUtils


  • public final class PackerUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getPackVersion()
      Retrieve JS and CSS pack version used in packer URL for improved caching management.
      static boolean isCssPackerEnabled()
      Check if the CSS packer is enabled
      static boolean isJsPackerEnabled()
      Check if the JS packer is enabled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isJsPackerEnabled

        public static boolean isJsPackerEnabled()
        Check if the JS packer is enabled
        Returns:
        true if enabled, false otherwise
        Since:
        jcms-10.0.2 / JCMS-6923
      • isCssPackerEnabled

        public static boolean isCssPackerEnabled()
        Check if the CSS packer is enabled
        Returns:
        true if enabled, false otherwise
        Since:
        jcms-10.0.2 / JCMS-6923
      • getPackVersion

        public static java.lang.String getPackVersion()
        Retrieve JS and CSS pack version used in packer URL for improved caching management.
        Returns:
        a version string to be used in JS and CSS packer URL parameter or null if none was specified.
        Since:
        jcms-10