Overview  Package   Class  Tree  Index 

be.lassi.web
Class DocBuilder

java.lang.Object
  extended by be.lassi.web.PageBuilder
      extended by be.lassi.web.DocBuilder
Direct Known Subclasses:
JavadocBuilder, ManualBuilder, TestDocBuilder

public abstract class DocBuilder
extends PageBuilder


Constructor Summary
protected DocBuilder(java.lang.String sourceDir, java.lang.String targetDir)
          Constructs a new instance.
 
Method Summary
protected  void exclude(java.lang.String filename)
          Adds a file to the list of files that should not get the logo and the navigation bar at the top.
 void process()
          Processes the files.
protected  void processLine(Page page, java.lang.String string)
          Processes html file line, insert LASSI navigation bar when correct location found.
 
Methods inherited from class be.lassi.web.PageBuilder
depth, getSourceDir, path, sourceFilename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocBuilder

protected DocBuilder(java.lang.String sourceDir,
                     java.lang.String targetDir)
Constructs a new instance.

Parameters:
sourceDir - the directory with the html pages to be changed
targetDir - the directory with the html pages after change
Method Detail

exclude

protected void exclude(java.lang.String filename)
Adds a file to the list of files that should not get the logo and the navigation bar at the top.

Parameters:
filename - the name of the file to be added to the list

process

public void process()
             throws java.io.IOException
Processes the files.

Throws:
java.io.IOException - if problem with reading or writing the files

processLine

protected void processLine(Page page,
                           java.lang.String string)
Processes html file line, insert LASSI navigation bar when correct location found.

Parameters:
out - output file
file - source file
string - the line to be processed

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2