| java.lang.Object de.webman.generator.GenNode
GenNode | public class GenNode (Code) | | author: $Author: gregor $ version: $Revision: 1.6 $ |
generate | public void generate(File baseDir, String rootDir, String tmplBase, PrintStream genFileLogStream, boolean cleanup) throws Exception(Code) | | Generates the node by creating a directory with name
nodeName in the directory baseDir .
It also recursively generates all sub documents and sub nodes,
if this node isn't excluded by subtree generation (as specified by
a refs command line option).
Parameters: baseDir - the parent directory path of this node Parameters: rootDir - the path to the document root Parameters: tmplBase - the absoulte path to the template directory Parameters: genFileLogStream - a logstream to which the generated files are written cleanup: if true certain files will be removed from the directory |
getPath | public String getPath()(Code) | | Returns the path-string of this site node.
The root-node's name is omitted.
Example: "/PressReleases/".
|
getSubPathDir | public String getSubPathDir()(Code) | | Returns the relative path from the root node to this node.
The returned string does not include starting and trailing File.separator.
In contrast to the aboves getPath-method, the root's node name is NOT omitted!
Examples: "root" or "root/PressPreleases" etc.
|
prepareGeneration | public void prepareGeneration()(Code) | | |
|
|