public class MinifyHtml extends Object
RuntimeException will be thrown.| Modifier and Type | Method and Description |
|---|---|
static String |
minify(String code,
Configuration cfg)
Minify HTML code represented as a
String. |
public static String minify(String code, Configuration cfg)
String.
The String will be copied to a UTF-8 byte array in native code, and then copied back into a Java String.code - HTML code to minifycfg - Configuration minification settings to useCopyright © 2025. All rights reserved.