All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redfin.sitemapgenerator.GoogleMobileSitemapUrl Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show 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);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy