All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tejas.HtmlGen

java.lang.Object
   |
   +----tejas.HtmlGen

public class HtmlGen
extends Object
This class contains small functins useful in generating dyanmic HTML pages.

The HtmlGen class is not part of any hierarchy.

Author:
B. Aditya

Constructor Index

 o HtmlGen()

Method Index

 o writeFooter(String, String, String, String, PrintWriter)
Puts out a footer for any html page

 o writeHeader(String, PrintWriter)
Puts out a header for any html page

Constructors

 o HtmlGen
 public HtmlGen()

Methods

 o writeHeader
 public static void writeHeader(String Title,
                                PrintWriter pw)
Puts out a header for any html page

Parameters:
Title - The Title of the HTML page
pw - The PrintWriter of the requesting Servlet
 o writeFooter
 public static void writeFooter(String backURL,
                                String backLabel,
                                String nextURL,
                                String nextLabel,
                                PrintWriter pw)
Puts out a footer for any html page

Parameters:
backURL - URL of page before this one
backLabel - Name of backURL
nextURL - URL of page coming after
nextLabel - Url of page coming after
pw - PrintWriter

All Packages  Class Hierarchy  This Package  Previous  Next  Index