@NotThreadSafe public final class SitemapIndex extends AbstractSitemap
Modifier and Type | Field and Description |
---|---|
static String |
NAME_SITEMAP_INDEX |
parameters
Constructor and Description |
---|
SitemapIndex(SitemapParameters parameters,
Consumer<Path> generatedFileRecorder) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Stream<Map.Entry<SitemapParameters,Stream<String>>> sitemaps) |
protected String |
createUrl(Path sitemapXml) |
protected Path |
filename() |
filename, process
public static final String NAME_SITEMAP_INDEX
public SitemapIndex(SitemapParameters parameters, Consumer<Path> generatedFileRecorder)
public void accept(Stream<Map.Entry<SitemapParameters,Stream<String>>> sitemaps) throws IOException
IOException
protected Path filename()
filename
in class AbstractSitemap
protected String createUrl(Path sitemapXml) throws IOException
createUrl
in class AbstractSitemap
IOException
Copyright © 2017–2018 earcam. All rights reserved.