All Packages This Package Class Hierarchy Class Search Index
Class grendel.mime.html.TextHTMLConverter
java.lang.Object | +----grendel.mime.html.TextHTMLConverter
This class knows how to convert plain-text to HTML.
class TextHTMLConverter extends java.lang.Object { // Constructors 1 public TextHTMLConverter(); // Methods 6 private static final boolean isURLProtocol(StringBuffer, int, int); public static void main(String[]); private static final boolean matchSubstring(StringBuffer, int, int, String); public static void quoteForHTML(StringBuffer, boolean, boolean); private static final boolean sendmailFuckage(StringBuffer, int, int); static void test(String); }
Constructors
TextHTMLConverter
public TextHTMLConverter()
Default constructor
Methods
quoteForHTML
public static void quoteForHTML(StringBuffer text, boolean urls_too, boolean citations_too)
Given a StringBuffer of text, alters that text in place to be displayable as HTML: the <, >, and & characters are converted to entities.
isURLProtocol
private static final boolean isURLProtocol(StringBuffer buf, int start, int length)
matchSubstring
private static final boolean matchSubstring(StringBuffer buf, int start, int length, String string)
sendmailFuckage
private static final boolean sendmailFuckage(StringBuffer buf, int start, int length)
test
static void test(String x)
main
public static void main(String[] args)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4