Overview  Package   Class  Tree  Index 

be.lassi.web
Class PageBuilder

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

public abstract class PageBuilder
extends java.lang.Object


Constructor Summary
protected PageBuilder(java.lang.String sourceDir)
           
 
Method Summary
protected  int depth(java.io.File file)
          Gets the depth in the directory structure of given file (the number of sub-directories under from the root).
protected  java.lang.String getSourceDir()
           
protected  java.lang.String path(int depth)
          Gets the path to the root directory from a directory at given depth.
protected  java.lang.String sourceFilename(java.io.File file)
          Gets the source file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageBuilder

protected PageBuilder(java.lang.String sourceDir)
Method Detail

depth

protected int depth(java.io.File file)
Gets the depth in the directory structure of given file (the number of sub-directories under from the root).

Parameters:
file - the file
Returns:
the number of sub-directories under root

getSourceDir

protected java.lang.String getSourceDir()

path

protected java.lang.String path(int depth)
Gets the path to the root directory from a directory at given depth.

Parameters:
depth - the sub-directory depth
Returns:
the path to the root

sourceFilename

protected java.lang.String sourceFilename(java.io.File file)
Gets the source file name.

Parameters:
file - the file that is processed
Returns:
the source file name

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2