Skip to Main Content
Beginning Java 8 Language Features: Lambda Expressions, Inner Classes, Th reads, I/O, Collections,and Streams
book

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

by Kishori Sharan
August 2014
Intermediate to advanced content levelIntermediate to advanced
704 pages
20h 16m
English
Apress
Content preview from Beginning Java 8 Language Features: Lambda Expressions, Inner Classes, Th reads, I/O, Collections,and Streams

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 ...
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

Java Lambdas and the Stream API: Bringing Functional Programming to Java

Java Lambdas and the Stream API: Bringing Functional Programming to Java

James McLaughlin

Publisher Resources

ISBN: 9781430266594Purchase book