Class DefaultUrlNormalizer

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

@Named @Singleton public class DefaultUrlNormalizer extends Object implements UrlNormalizer
Normalizes a URL.
Author:
Benjamin Bentmann
  • Constructor Details

    • DefaultUrlNormalizer

      public DefaultUrlNormalizer()
  • Method Details

    • 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.