org.apache.maven.model.path
Class DefaultUrlNormalizer
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultUrlNormalizer
public DefaultUrlNormalizer()
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–2013 The Apache Software Foundation. All rights reserved.