public class BasedirBeanConfigurationPathTranslator extends Object implements BeanConfigurationPathTranslator
Constructor and Description |
---|
BasedirBeanConfigurationPathTranslator(File basedir)
Creates a new path translator using the specified base directory.
|
public BasedirBeanConfigurationPathTranslator(File basedir)
basedir
- The base directory to resolve relative paths against, may be null
to disable path
translation.public File translatePath(File path)
BeanConfigurationPathTranslator
translatePath
in interface BeanConfigurationPathTranslator
path
- The path to translate, may be null
.null
if none.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.