Class BeanPathCalculator
Object
BeanPathCalculator
Calculates file-system paths involving an
AnchorBean
.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionpathFromBean
(AnchorBean<?> bean, String relativePath) Calculates a path from the current bean.
-
Method Details
-
pathFromBean
Calculates a path from the current bean.- Parameters:
bean
- a bean that has been loaded from the file-system (and retains a link to the path it was loaded from).relativePath
- a relative-path- Returns:
- the relative-path joined into the location of the bean on the file-system, if it can be calculated.
-