Package org.apache.maven.model.path
Class DefaultUrlNormalizer
- java.lang.Object
-
- org.apache.maven.model.path.DefaultUrlNormalizer
-
- All Implemented Interfaces:
UrlNormalizer
@Named @Singleton public class DefaultUrlNormalizer extends java.lang.Object implements UrlNormalizer
Normalizes a URL.- Author:
- Benjamin Bentmann
-
-
Constructor Summary
Constructors Constructor Description DefaultUrlNormalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
normalize(java.lang.String url)
Normalizes the specified URL.
-
-
-
Method Detail
-
normalize
public java.lang.String normalize(java.lang.String url)
Description copied from interface:UrlNormalizer
Normalizes the specified URL.- Specified by:
normalize
in interfaceUrlNormalizer
- Parameters:
url
- The URL to normalize, may benull
.- Returns:
- The normalized URL or
null
if the input wasnull
.
-
-