Class HTMLUtils

java.lang.Object
com.biglybt.core.html.HTMLUtils

public class HTMLUtils extends Object
  • Constructor Details

    • HTMLUtils

      public HTMLUtils()
  • Method Details

    • convertHTMLToText

      public static List convertHTMLToText(String indent, String text)
      returns a list of strings for each line in a basic text representation
      Parameters:
      indent -
      text -
      Returns:
    • convertListToString

      public static String convertListToString(List list)
    • convertHTMLToText2

      public static String convertHTMLToText2(String content)
    • splitWithLineLength

      public static String splitWithLineLength(String str, int length)
    • removeTagPairs

      public static String removeTagPairs(String content, String tag_name)
    • getLinks

      public static Object[] getLinks(String content_in)
    • expand

      public static String expand(String str)
    • main

      public static void main(String[] args)
    • toColorHexString

      public static String toColorHexString(int r, int g, int b, int a)