org.histpop.server.wrappers
Class HTMLTemplate

java.lang.Object
  extended by org.histpop.server.wrappers.HTMLTemplate

public class HTMLTemplate
extends java.lang.Object


Constructor Summary
HTMLTemplate(java.io.InputStream input)
           
HTMLTemplate(java.lang.String ROOT, java.lang.String filename)
           
 
Method Summary
 byte[] fill(HTMLData component)
           
protected  void fill(HTMLSection section, HTMLData component, java.io.PrintStream sb)
           
protected  void fill(HTMLSection section, HTMLData component, java.util.Stack variableStack, java.io.PrintStream sb)
           
static char getDelimiter()
           
 java.lang.String getMimeType()
           
static void setDelimiter(char delim)
           
 void setMimeType(java.lang.String mimeType)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLTemplate

public HTMLTemplate(java.lang.String ROOT,
                    java.lang.String filename)
             throws ServerException
Throws:
ServerException

HTMLTemplate

public HTMLTemplate(java.io.InputStream input)
             throws ServerException
Throws:
ServerException
Method Detail

getDelimiter

public static char getDelimiter()

setDelimiter

public static void setDelimiter(char delim)

getMimeType

public java.lang.String getMimeType()

setMimeType

public void setMimeType(java.lang.String mimeType)

fill

public byte[] fill(HTMLData component)

fill

protected void fill(HTMLSection section,
                    HTMLData component,
                    java.io.PrintStream sb)

fill

protected void fill(HTMLSection section,
                    HTMLData component,
                    java.util.Stack variableStack,
                    java.io.PrintStream sb)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object