org.codehaus.xsite
Class XSite
java.lang.Object
org.codehaus.xsite.XSite
public class XSite
- extends Object
Facade for building sites
- Author:
- Joe Walnes, Mauro Talevi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSite
public XSite(SitemapLoader loader,
Skin skin,
LinkValidator[] validators,
FileSystem fileSystem,
XSiteConfiguration configuration)
- Creates an XSite
- Parameters:
loader
- the SitemapLoader used to load the Sitemapskin
- the Skin used to skin the pagesvalidators
- the array with the LinkValidator instancesfileSystem
- the FileSystem used for IO operationsconfiguration
- the XSite configuration
build
public void build(File sitemapFile,
File skinFile,
File[] resourceDirs,
File outputDirectory,
Map<String,Object> customProperties)
throws IOException
- Throws:
IOException
Copyright © 2010. All Rights Reserved.