uk.ac.ebi.intenz.tools.export
Class SitemapExporter

java.lang.Object
  extended by uk.ac.ebi.intenz.tools.export.SitemapExporter

public class SitemapExporter
extends Object

Exports IntEnz as a sitemap XML file

Author:
rafalcan

Constructor Summary
SitemapExporter()
           
 
Method Summary
 void export(Collection<String> urls, OutputStream os)
          Dumps a list of URLs as sitemap (see http://www.sitemaps.org)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapExporter

public SitemapExporter()
                throws javax.xml.bind.JAXBException,
                       SAXException
Throws:
javax.xml.bind.JAXBException
SAXException
Method Detail

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.