◆ SitemapGenerator()
org.turro.elephant.sitemap.SitemapGenerator.SitemapGenerator |
( |
| ) |
throws IOException |
Definition at line 38 of file SitemapGenerator.java.
39 this.writer =
new FileWriterWithEncoding(ElephantContext.getRealPath(
"/sitemap.xml"),
"UTF-8");
◆ generate()
void org.turro.elephant.sitemap.SitemapGenerator.generate |
( |
| ) |
throws IOException |
Definition at line 50 of file SitemapGenerator.java.
51 Collection<Sitemaps.SitemapLink> links = Sitemaps.getSitemapLinks();
53 for(Sitemaps.SitemapLink link : links) {
54 writeEntry(link.getUrl(), link.getImages());
◆ generateSitemap()
static void org.turro.elephant.sitemap.SitemapGenerator.generateSitemap |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: