com.webstersmalley.picweb.offline
Class WebsiteGenerator

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

public class WebsiteGenerator
extends java.lang.Object

Author:
Matthew Smalley

Field Summary
private static org.apache.commons.logging.Log log
          Logger for the class.
private  StringMapper mapper
           
private  ConfigurationModel model
           
private  java.io.File[] pictures
           
private  TemplateModel template
           
 
Constructor Summary
WebsiteGenerator(ConfigurationModel model)
           
 
Method Summary
private  void copyArtifacts()
           
private  void generateThumbs(FolderContents folder)
           
 void go()
           
private  void populateList()
           
 
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

pictures

private java.io.File[] pictures

template

private TemplateModel template

mapper

private StringMapper mapper
Constructor Detail

WebsiteGenerator

public WebsiteGenerator(ConfigurationModel model)
                 throws javax.xml.parsers.ParserConfigurationException,
                        org.xml.sax.SAXException,
                        java.io.IOException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
Method Detail

go

public void go()
        throws java.io.IOException
Throws:
java.io.IOException

generateThumbs

private void generateThumbs(FolderContents folder)
                     throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

populateList

private void populateList()

copyArtifacts

private void copyArtifacts()
                    throws java.io.IOException
Throws:
java.io.IOException


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