com.redfin.sitemapgenerator
Class SitemapIndexUrl

java.lang.Object
  extended by com.redfin.sitemapgenerator.SitemapIndexUrl

public class SitemapIndexUrl
extends java.lang.Object

Represents a single sitemap for inclusion in a sitemap index.

Author:
Dan Fabulich

Constructor Summary
SitemapIndexUrl(java.lang.String url)
          Configures the sitemap URL with no specified lastMod; we'll use SitemapIndexGenerator.Options.defaultLastMod(Date) or leave it blank if no default is specified
SitemapIndexUrl(java.lang.String url, java.util.Date lastMod)
          Configures the sitemap URL with a specified lastMod
SitemapIndexUrl(java.net.URL url)
          Configures the sitemap URL with no specified lastMod; we'll use SitemapIndexGenerator.Options.defaultLastMod(Date) or leave it blank if no default is specified
SitemapIndexUrl(java.net.URL url, java.util.Date lastMod)
          Configures the sitemap URL with a specified lastMod
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapIndexUrl

public SitemapIndexUrl(java.net.URL url,
                       java.util.Date lastMod)
Configures the sitemap URL with a specified lastMod


SitemapIndexUrl

public SitemapIndexUrl(java.lang.String url,
                       java.util.Date lastMod)
                throws java.net.MalformedURLException
Configures the sitemap URL with a specified lastMod

Throws:
java.net.MalformedURLException

SitemapIndexUrl

public SitemapIndexUrl(java.net.URL url)
Configures the sitemap URL with no specified lastMod; we'll use SitemapIndexGenerator.Options.defaultLastMod(Date) or leave it blank if no default is specified


SitemapIndexUrl

public SitemapIndexUrl(java.lang.String url)
                throws java.net.MalformedURLException
Configures the sitemap URL with no specified lastMod; we'll use SitemapIndexGenerator.Options.defaultLastMod(Date) or leave it blank if no default is specified

Throws:
java.net.MalformedURLException


Copyright © 2009. All Rights Reserved.