public class BasedirBeanConfigurationPathTranslator extends java.lang.Object implements BeanConfigurationPathTranslator
| Modifier and Type | Field and Description |
|---|---|
private java.io.File |
basedir |
| Constructor and Description |
|---|
BasedirBeanConfigurationPathTranslator(java.io.File basedir)
Creates a new path translator using the specified base directory.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
translatePath(java.io.File path)
Translates the specified path.
|
public BasedirBeanConfigurationPathTranslator(java.io.File basedir)
basedir - The base directory to resolve relative paths against, may be null to disable path
translation.public java.io.File translatePath(java.io.File path)
BeanConfigurationPathTranslatortranslatePath in interface BeanConfigurationPathTranslatorpath - The path to translate, may be null.null if none.