com.redfin.sitemapgenerator.GoogleMobileSitemapUrl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sitemapgen4j Show documentation
Show all versions of sitemapgen4j Show documentation
SitemapGen4j is an XML sitemap generator written in Java.
The newest version!
package com.redfin.sitemapgenerator;
import java.net.MalformedURLException;
import java.net.URL;
/**
* One configurable Google Mobile Search URL. To configure, use {@link Options}
* @author Dan Fabulich
* @see Options
* @see Creating Mobile Sitemaps
*/
public class GoogleMobileSitemapUrl extends WebSitemapUrl {
/** Options to configure mobile URLs */
public static class Options extends AbstractSitemapUrlOptions {
/** Specifies the url */
public Options(String url) throws MalformedURLException {
this(new URL(url));
}
/** Specifies the url */
public Options(URL url) {
super(url, GoogleMobileSitemapUrl.class);
}
}
/** Specifies the url */
public GoogleMobileSitemapUrl(String url) throws MalformedURLException {
this(new Options(url));
}
/** Specifies the url */
public GoogleMobileSitemapUrl(URL url) {
this(new Options(url));
}
/** Specifies configures url with options */
public GoogleMobileSitemapUrl(Options options) {
super(options);
}
}