Skip to Content
Learn Java 17 Programming - Second Edition
book

Learn Java 17 Programming - Second Edition

by Nick Samoylov
July 2022
Beginner
748 pages
15h 1m
English
Packt Publishing
Content preview from Learn Java 17 Programming - Second Edition

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 java.io packages will follow, along with some classes of the org.apache.commons.io 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Java, 4th Edition

Learning Java, 4th Edition

Patrick Niemeyer, Daniel Leuck
Learning Java, 5th Edition

Learning Java, 5th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck
The Well-Grounded Java Developer, Second Edition

The Well-Grounded Java Developer, Second Edition

Benjamin Evans, Martijn Verburg, Jason Clark

Publisher Resources

ISBN: 9781803241432Supplemental Content