@Test public void compressHtml() throws Exception { StringBuffer html = new StringBuffer(); html.append("<a>"); html.append(" <span>test</span>\r\n"); html.append("</a><br/>"); }
public static String compressHtml(String html) { return compressor.compress(html); }
StringUtils { public static String compressHtml(String html) { return compressor.compress(html); } }
StringUtils { public static String compressHtml(String html) { return compressor.compress(html); } private  StringUtils(); }
StringUtils { public static String compressHtml(String html) { return compressor.compress(html); } private  StringUtils(); static String toString(Object source); static String null2Empty(Object source); static String encodeToCN(String isoString); static String encodeToEN(String cnString); static String encode(String srcString, String fromEncode,
                              String toEncode); static String formater(String sourceString, Object[] args); static boolean isNumeric(String value); static String String2Hex(String str); static String Hex2String(String bytes); static Long[] stringArray2LongArray(String[] sArray); static Integer[] stringArray2IntegerArray(String[] sArray); static String wrapQuota(String str); static String compressHtml(String html); static int countMatches(String str, String sub); static String formatSize(long size); static Object convertValueByType(String type, String value); static String reverse(String s); static String number2Chinese(String n); static String multiDigit2ChineseMoney(String n); static String multiDigit2Chinese(String n); static String siginDigit2Chinese(Object n); static String getContentFromClassResource(String path, Map<String, Object> args); }
StringUtils { public static String compressHtml(String html) { return compressor.compress(html); } private  StringUtils(); static String toString(Object source); static String null2Empty(Object source); static String encodeToCN(String isoString); static String encodeToEN(String cnString); static String encode(String srcString, String fromEncode,
                              String toEncode); static String formater(String sourceString, Object[] args); static boolean isNumeric(String value); static String String2Hex(String str); static String Hex2String(String bytes); static Long[] stringArray2LongArray(String[] sArray); static Integer[] stringArray2IntegerArray(String[] sArray); static String wrapQuota(String str); static String compressHtml(String html); static int countMatches(String str, String sub); static String formatSize(long size); static Object convertValueByType(String type, String value); static String reverse(String s); static String number2Chinese(String n); static String multiDigit2ChineseMoney(String n); static String multiDigit2Chinese(String n); static String siginDigit2Chinese(Object n); static String getContentFromClassResource(String path, Map<String, Object> args); static String fromEncode; static String toEncode; static boolean encodeToCN; static HtmlCompressor compressor; }