Skip to content

Modern I/O #26

Description

@carimura

Approved Content Discussed in #22

Originally posted by cayhorstmann June 7, 2023

Content Details

An article on the more or less recent changes in I/O libraries, showing readers to use modern one-liners instead of loops with BufferedReader. An expanded version of https://horstmann.com/unblog/2023-04-09/index.html

Website Section

Learn -> Tutorials -> Staying Aware of New Features?

Activity

  1. danthe1st commented on Nov 7, 2023

    @danthe1st
    Contributor

    There are quite a lot of things in java.nio. What about splitting it up into an article series containing articles about:

    • How to use java.nio.files.Path/What are the differences to java.io.File/What does the java.nio.files.Files class do?
    • Channels/Buffers
    • FileSystem/similar less commonly used operations.
  2. cayhorstmann commented on Nov 7, 2023

    @cayhorstmann
    Collaborator

    I did not aim for a comprehensive treatment of java.nio. Channels and file systems are really specialized. My plan is to cover the kind of file I/O that is common for most programming tasks: reading and writing text files either as String or list/stream of lines, reading/writing byte arrays, temp files, etc. If someone else wants to write an advanced article, that's great too.

  3. carimura commented on Jan 23, 2024

    @carimura
    ContributorAuthor

    hi @cayhorstmann -- was this ever worked on? Just doing some cleaning up of issues. Thanks!

  4. added a commit that references this issue on Feb 1, 2024
  5. cayhorstmann commented on Feb 2, 2024

    @cayhorstmann
    Collaborator
  6. added a commit that references this issue on Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions