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

org.archive.url.OrdinaryIAURLCanonicalizer Maven / Gradle / Ivy

The newest version!
package org.archive.url;

/**
 * Idea of this canonicalizer is to accomplish roughly the equivalent of
 * {@link UsableURIFactory} fixup plus {@link BasicURLCanonicalizer} fixup.
 */
public class OrdinaryIAURLCanonicalizer implements URLCanonicalizer {
	private static final BasicURLCanonicalizer basic = new BasicURLCanonicalizer();

	private static final IAURLCanonicalizer ia = 
			new IAURLCanonicalizer(new OrdinaryIACanonicalizerRules());

	public void canonicalize(HandyURL url) {
		basic.canonicalize(url);
		ia.canonicalize(url);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy