All Packages This Package Class Hierarchy Class Search Index
Class grendel.mime.html.HeaderFormatter
java.lang.Object | +----grendel.mime.html.HeaderFormatter
This class provides a method which knows how to convert an InternetHeaders object to an HTML representation.
abstract class HeaderFormatter extends java.lang.Object { // Constructors 1 public HeaderFormatter(); // Methods 21 void finishHeaderOutput(StringBuffer); public abstract void formatHeaders(InternetHeaders, StringBuffer); String localizeHeaderName(String); void quoteHTML(StringBuffer); void startHeaderOutput(StringBuffer); boolean writeAddressHeader(String, String, StringBuffer); boolean writeAddressHeader(String, StringBuffer, StringBuffer); boolean writeAddressHeader(String, InternetHeaders, StringBuffer); boolean writeIDHeader(String, String, StringBuffer); boolean writeIDHeader(String, StringBuffer, StringBuffer); boolean writeIDHeader(String, InternetHeaders, StringBuffer); boolean writeNewsgroupHeader(String, String, StringBuffer); boolean writeNewsgroupHeader(String, StringBuffer, StringBuffer); boolean writeNewsgroupHeader(String, InternetHeaders, StringBuffer); boolean writeRandomHeader(String, String, StringBuffer); boolean writeRandomHeader(String, StringBuffer, StringBuffer); boolean writeRandomHeader(String, String[], StringBuffer); boolean writeRandomHeader(String, InternetHeaders, StringBuffer, boolean); boolean writeSubjectHeader(String, String, StringBuffer); boolean writeSubjectHeader(String, StringBuffer, StringBuffer); boolean writeSubjectHeader(String, InternetHeaders, StringBuffer); }
Constructors
HeaderFormatter
public HeaderFormatter()
Default constructor
Methods
formatHeaders
public abstract void formatHeaders(InternetHeaders headers, StringBuffer output)
localizeHeaderName
String localizeHeaderName(String header)
Translates an RFC-mandated message header name (like "Subject") into a localized string which should be presented to the user.
quoteHTML
void quoteHTML(StringBuffer string)
Called to translate plain-text to an HTML-presentable form.
startHeaderOutput
void startHeaderOutput(StringBuffer output)
Called when beginning to output a header block. This opens the table.
finishHeaderOutput
void finishHeaderOutput(StringBuffer output)
Called when done filling a header block. This closes the table.
writeAddressHeader
boolean writeAddressHeader(String header, InternetHeaders headers, StringBuffer output)
writeAddressHeader
boolean writeAddressHeader(String header, String value, StringBuffer output)
writeAddressHeader
boolean writeAddressHeader(String header, StringBuffer value, StringBuffer output)
writeNewsgroupHeader
boolean writeNewsgroupHeader(String header, InternetHeaders headers, StringBuffer output)
writeNewsgroupHeader
boolean writeNewsgroupHeader(String header, String value, StringBuffer output)
writeNewsgroupHeader
boolean writeNewsgroupHeader(String header, StringBuffer value, StringBuffer output)
writeIDHeader
boolean writeIDHeader(String header, InternetHeaders headers, StringBuffer output)
writeIDHeader
boolean writeIDHeader(String header, String value, StringBuffer output)
writeIDHeader
boolean writeIDHeader(String header, StringBuffer value, StringBuffer output)
writeSubjectHeader
boolean writeSubjectHeader(String header, InternetHeaders headers, StringBuffer output)
writeSubjectHeader
boolean writeSubjectHeader(String header, String value, StringBuffer output)
writeSubjectHeader
boolean writeSubjectHeader(String header, StringBuffer value, StringBuffer output)
writeRandomHeader
boolean writeRandomHeader(String header, InternetHeaders headers, StringBuffer output, boolean all_p)
writeRandomHeader
boolean writeRandomHeader(String header, String value, StringBuffer output)
writeRandomHeader
boolean writeRandomHeader(String header, String[] values, StringBuffer output)
writeRandomHeader
boolean writeRandomHeader(String header, StringBuffer value, StringBuffer output)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4