Skip to content
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

Support for java.nio.file.Path #3

Merged
merged 1 commit into from
Dec 1, 2024
Merged

Support for java.nio.file.Path #3

merged 1 commit into from
Dec 1, 2024

Conversation

mkarg
Copy link
Contributor

@mkarg mkarg commented Nov 30, 2024

New constructor Document(Path) allows applications using NIO to use Document without explicit type conversion to File

If eventually OpenJDK replaces the native ZipFile implementation by a Java-based implementation, ODS Reader can internally switch from Path.toFile() to Files.newInputStream(path) without forcing applications to change their calling code.

…ocument without explicit type conversion to File

If eventually OpenJDK replaces the native ZipFile implementation by a Java-based implementation, ODS Reader can internally switch from Path.toFile() to Files.newInputStream(path) without forcing applications to change their calling code.
@jze jze merged commit cbf6e16 into jze:main Dec 1, 2024
1 check failed
@mkarg mkarg deleted the path branch December 1, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants