public class SitemapExporter extends Object
| Constructor and Description |
|---|
SitemapExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(Collection<String> urls,
OutputStream os)
Dumps a list of URLs as sitemap (see
http://www.sitemaps.org) |
public SitemapExporter()
throws javax.xml.bind.JAXBException,
SAXException
public void export(Collection<String> urls, OutputStream os) throws javax.xml.bind.JAXBException
http://www.sitemaps.org)urls - List of indexed URLs as Strings.os - javax.xml.bind.JAXBException - in case of marshalling errorCopyright © 2014 EMBL-EBI. All rights reserved.