Skip to content

Introduce java.nio.file.Path based Resource implementation [SPR-10608] #15237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue May 30, 2013 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented May 30, 2013

Philippe Marschall opened SPR-10608 and commented

FileSystemResource uses the "old" java.io.File instead of the "new" java.nio.file.Path. One of the disadvantages is that it only works with the default file system and not with custom ones. Since the minimum requirement for Spring 4.0 is still Java 6, FileSystemResource cannot be retrofitted (and #getPath cannot be added to Resource).


Issue Links:

Referenced from: commits 5377fae, 5006dcd, 2313c9a

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Pull request: #295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants