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

Method Summary
 String normalize(String url)
          Normalizes the specified URL.
 

Method Detail

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-2012 The Apache Software Foundation. All Rights Reserved.