com.webstersmalley.picweb.offline
Class HomepageGenerator

java.lang.Object
  extended by com.webstersmalley.picweb.offline.HomepageGenerator

public class HomepageGenerator
extends java.lang.Object

Author:
Matthew Smalley

Field Summary
private  FolderContents folder
           
private  int folderId
           
private static org.apache.commons.logging.Log log
          Logger for the class.
private  StringMapper mapper
           
private  ConfigurationModel model
           
private  TemplateModel template
           
 
Constructor Summary
HomepageGenerator(ConfigurationModel model, StringMapper mapper, TemplateModel template, FolderContents folder)
           
 
Method Summary
 void generate()
           
private  java.lang.String getFolderString(FolderContents folder)
           
private  void writeContentsPage()
           
private  void writeFooterPage()
           
private  void writeFramesetPage()
           
private  void writeHeaderPage()
           
private  void writeMainPage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log
Logger for the class.


model

private ConfigurationModel model

mapper

private StringMapper mapper

template

private TemplateModel template

folder

private FolderContents folder

folderId

private int folderId
Constructor Detail

HomepageGenerator

public HomepageGenerator(ConfigurationModel model,
                         StringMapper mapper,
                         TemplateModel template,
                         FolderContents folder)
Parameters:
model -
mapper -
template -
pictures -
Method Detail

generate

public void generate()
              throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

writeFramesetPage

private void writeFramesetPage()
                        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

writeHeaderPage

private void writeHeaderPage()
                      throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

writeFooterPage

private void writeFooterPage()
                      throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

writeMainPage

private void writeMainPage()
                    throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

writeContentsPage

private void writeContentsPage()
                        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

getFolderString

private java.lang.String getFolderString(FolderContents folder)


Copyright © 2004-2005-2005 Webster Smalley. All Rights Reserved.