Summary
In this chapter, we have discussed the String
class methods that allow analyzing, comparing, and transforming strings. We have also discussed popular string utilities from the JCL and the Apache Commons project. Two big sections of this chapter were dedicated to the input/output streams and the supporting classes in the JCL and the Apache Commons project. The file-managing classes and their methods were also discussed and demonstrated in specific code examples. Now, you should be able to write code that processes strings and files, using standard Java API and Apache Commons utilities.
In the next chapter, we will present the Java Collections framework and its three main interfaces, List
, Set
, and Map
, including discussion and demonstration of generics. We will also discuss utility classes for managing arrays, objects, and time
/date
values.