org.gudy.azureus2.core3.html
Class HTMLUtils
java.lang.Object
org.gudy.azureus2.core3.html.HTMLUtils
public class HTMLUtils
- extends Object
- Author:
- parg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLUtils
public HTMLUtils()
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)