org.gudy.azureus2.core3.html
Class HTMLUtils

java.lang.Object
  extended by org.gudy.azureus2.core3.html.HTMLUtils

public class HTMLUtils
extends Object

Author:
parg

Constructor Summary
HTMLUtils()
           
 
Method Summary
static List convertHTMLToText(String indent, String text)
          returns a list of strings for each line in a basic text representation
static String convertHTMLToText2(String content)
           
static String convertListToString(List list)
           
static String expand(String str)
           
static Object[] getLinks(String content_in)
           
static void main(String[] args)
           
static String removeTagPairs(String content, String tag_name)
           
static String splitWithLineLength(String str, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLUtils

public HTMLUtils()
Method Detail

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)