Package com.jalios.jcms.tools
Class PackerUtils
- java.lang.Object
-
- com.jalios.jcms.tools.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 enabledstatic boolean
isJsPackerEnabled()
Check if the JS packer is enabled
-
-
-
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
-
-