Package org.apache.maven.configuration
Class BasedirBeanConfigurationPathTranslator
java.lang.Object
org.apache.maven.configuration.BasedirBeanConfigurationPathTranslator
- All Implemented Interfaces:
- BeanConfigurationPathTranslator
public class BasedirBeanConfigurationPathTranslator
extends Object
implements BeanConfigurationPathTranslator
A path translator that resolves relative paths against a specific base directory.
- Author:
- Benjamin Bentmann
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new path translator using the specified base directory.
- 
Method Summary
- 
Constructor Details- 
BasedirBeanConfigurationPathTranslatorCreates a new path translator using the specified base directory.- Parameters:
- basedir- The base directory to resolve relative paths against, may be- nullto disable path translation.
 
 
- 
- 
Method Details- 
translatePathDescription copied from interface:BeanConfigurationPathTranslatorTranslates the specified path.- Specified by:
- translatePathin interface- BeanConfigurationPathTranslator
- Parameters:
- path- The path to translate, may be- null.
- Returns:
- The translated path or nullif none.
 
 
-