Skip to content

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

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions