zipdiff.output
Class HtmlBuilder

java.lang.Object
  extended byzipdiff.output.AbstractBuilder
      extended byzipdiff.output.HtmlBuilder
All Implemented Interfaces:
Builder

public class HtmlBuilder
extends AbstractBuilder

Generates html output for a Differences instance

Author:
Sean C. Sullivan

Constructor Summary
HtmlBuilder()
           
 
Method Summary
 void build(java.io.OutputStream out, Differences d)
           
protected  java.lang.String getStyleTag()
           
protected  void writeAdded(java.io.PrintWriter pw, java.util.Set added)
           
protected  void writeChanged(java.io.PrintWriter pw, java.util.Set changed)
           
protected  void writeDiffSet(java.io.PrintWriter pw, java.lang.String name, java.util.Set s)
           
protected  void writeRemoved(java.io.PrintWriter pw, java.util.Set removed)
           
 
Methods inherited from class zipdiff.output.AbstractBuilder
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlBuilder

public HtmlBuilder()
Method Detail

build

public void build(java.io.OutputStream out,
                  Differences d)
Specified by:
build in interface Builder
Specified by:
build in class AbstractBuilder

writeAdded

protected void writeAdded(java.io.PrintWriter pw,
                          java.util.Set added)

writeRemoved

protected void writeRemoved(java.io.PrintWriter pw,
                            java.util.Set removed)

writeChanged

protected void writeChanged(java.io.PrintWriter pw,
                            java.util.Set changed)

writeDiffSet

protected void writeDiffSet(java.io.PrintWriter pw,
                            java.lang.String name,
                            java.util.Set s)

getStyleTag

protected java.lang.String getStyleTag()


Copyright © 2004 zipdiff.sourceforge.net. All Rights Reserved.