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()
- Creates an XSite with default dependencies
XSite
public XSite(SitemapLoader loader,
Skin skin,
LinkValidator[] validators,
FileSystem fileSystem)
- Creates an XSite with custom dependencies
- 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 operations
build
public void build(File sitemapFile,
File skinFile,
File[] resourceDirs,
File outputDirectory)
throws IOException
- Throws:
IOException
Copyright © 2010. All Rights Reserved.