23a0203547
* remove Resource.getFile() and replace its usages with Resource.getPath() * remove all public PathResource ctors + add non-leaky FS mounting mechanism + interpret string as Path when not a schemed URI * rename Resource.getResource to Resource.resolve, specifying that the subpath is URI-path-interpreted * remove useless API methods + deprecate all path-related API * make subpaths beginning with / resolved as relative to the given uri * introduce filesystem pooling and generalize resource resolving code * remove URLResource * remove unneeded factory method * both file: and jrt: should not be pooled * move deprecated impls from PathResource down to Resource + fix some tests * handle Resource's pointing to non-existent jar files * Force Resource URIs to end with "/" when the resource is a directory * Produce warning if attempting to release a mounted filesystem uri that doesn't exist in the pool. Co-authored-by: Greg Wilkins <gregw@webtide.com> Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com> Co-authored-by: Ludovic Orban <lorban@bitronix.be> |
||
---|---|---|
.. | ||
src | ||
pom.xml |