Chapter 5: Strings, Input/Output,and Files

In this chapter, you will be presented with the String class methods in more detail. We will also discuss popular string utilities from standard libraries and the Apache Commons project. An overview of Java input/output streams and the related classes of the packages will follow, along with some classes of the package. The file-managing classes and their methods are described in a dedicated section. After completing this chapter, you will be able to write code that processes strings and files, using standard Java API and Apache Commons utilities.

The following topics will be covered in this chapter:

  • String processing
  • I/O streams
  • File management
  • Apache Commons’ FileUtils ...

Get Learn Java 17 Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.