O'Reilly logo

Beginning Java 8 Language Features: Lambda Expressions, Inner Classes, Th reads, I/O, Collections,and Streams by Kishori Sharan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7

image

Input/Output

In this chapter, you will learn

  • What input/output is in Java
  • How to work with a File object that represents an abstract pathname for a file or a directory in a file system
  • The decorator pattern
  • Byte-based and character-based input/output streams
  • Reading data from a file and writing data to a file
  • Reading and writing primitive type and reference type data to input/output streams
  • Object serialization and deserialization
  • How to develop custom input/output stream classes
  • The Console and Scanner classes to interact with the console
  • The StringTokenizer and StreamTokenizer classes to split text into tokens based on delimiters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required