org.apache.maven.model.path
Class DefaultUrlNormalizer

java.lang.Object
  extended by org.apache.maven.model.path.DefaultUrlNormalizer
All Implemented Interfaces:
UrlNormalizer

@Component(role=UrlNormalizer.class)
public class DefaultUrlNormalizer
extends Object
implements UrlNormalizer

Normalizes a URL.

Author:
Benjamin Bentmann

Constructor Summary
DefaultUrlNormalizer()
           
 
Method Summary
 String normalize(String url)
          Normalizes the specified URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUrlNormalizer

public DefaultUrlNormalizer()
Method Detail

normalize

public String normalize(String url)
Description copied from interface: UrlNormalizer
Normalizes the specified URL.

Specified by:
normalize in interface UrlNormalizer
Parameters:
url - The URL to normalize, may be null.
Returns:
The normalized URL or null if the input was null.


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.