-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
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:
- java.nio.file.Path support in FileSystemResource (with regular createRelative behavior, superseding PathResource) [SPR-16833] #21373 java.nio.file.Path support in FileSystemResource (with regular createRelative behavior, superseding PathResource)
- Add PathEditor to enable conversion to java.nio.file.Path [SPR-14436] #19007 Add PathEditor to enable conversion to java.nio.file.Path
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement