uk.ac.ebi.intenz.tools.export
Class SitemapExporter
java.lang.Object
uk.ac.ebi.intenz.tools.export.SitemapExporter
public class SitemapExporter
- extends Object
Exports IntEnz as a
sitemap XML file
- Author:
- rafalcan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SitemapExporter
public SitemapExporter()
throws javax.xml.bind.JAXBException,
SAXException
- Throws:
javax.xml.bind.JAXBException
SAXException
export
public void export(Collection<String> urls,
OutputStream os)
throws javax.xml.bind.JAXBException
- Dumps a list of URLs as sitemap (see
http://www.sitemaps.org
)
- Parameters:
urls
- List of indexed URLs as Strings.os
-
- Throws:
javax.xml.bind.JAXBException
- in case of marshalling error
Copyright © 2013 EMBL-EBI. All Rights Reserved.