A specialized implementation of {@code FileLocationStrategy} which tries toconstruct a file path from the locator's base path and file name.
This strategies ignores the URL stored in the passed in {@link FileLocator}. It generates a path by concatenating the base path (if present) and the file name. If the resulting path points to a valid file, the corresponding URL is returned.
@version $Id: BasePathLocationStrategy.java 1624601 2014-09-12 18:04:36Z oheger $ @since 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|