You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

All Packages  This Package  Class Hierarchy  Class Search  Index

Class 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);



   public TextHTMLConverter() 

Default constructor



   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.


   private static final boolean isURLProtocol(StringBuffer buf, 
                                              int start, 
                                              int length) 


   private static final boolean matchSubstring(StringBuffer buf, 
                                               int start, 
                                               int length, 
                                               String string) 


   private static final boolean sendmailFuckage(StringBuffer buf, 
                                                int start, 
                                                int length) 


   static void test(String x) 


   public static void main(String[] args) 

All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4