org.apache.maven.model.path
Interface UrlNormalizer
- All Known Implementing Classes:
- DefaultUrlNormalizer
public interface UrlNormalizer
Normalizes a URL to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
model inheritance.
- Author:
- Benjamin Bentmann
normalize
String normalize(String url)
- Normalizes the specified URL.
- Parameters:
url
- The URL to normalize, may be null
.
- Returns:
- The normalized URL or
null
if the input was null
.
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.