org.codehaus.xsite.loaders
Class XStreamSitemapLoader
java.lang.Object
org.codehaus.xsite.loaders.XStreamSitemapLoader
- All Implemented Interfaces:
- SitemapLoader
public class XStreamSitemapLoader
- extends Object
- implements SitemapLoader
Loads a Sitemap from an XML file using XStream.
- Author:
- Joe Walnes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XStreamSitemapLoader
public XStreamSitemapLoader(PageExtractor extractor,
com.thoughtworks.xstream.XStream xstream)
- Creates a XStreamSitemapLoader
- Parameters:
extractor
- the PageExtractorxstream
- the XStream instance
loadFrom
public Sitemap loadFrom(File content)
throws IOException
- Specified by:
loadFrom
in interface SitemapLoader
- Throws:
IOException
Copyright © 2010. All Rights Reserved.