Note, that technically the resourcePath
need not refer to an existing resource. This method just applies the mappings and returns the resulting string. If the resourcePath
does not address an existing resource roundtripping may of course not work and calling {@link #resolve(String)} with the path returned may returnnull
.
This method is intended as the reverse operation of the {@link #resolve(String)} method. @param resourcePath The path for which to return a mapped path. @return The mapped path. @throws IllegalStateException if this resource resolver has already been{@link #close() closed}.
|
|
|
|