𝔖 Scriptorium
✦   LIBER   ✦

📁

Java I/O

✍ Scribed by Elliotte Rusty Harold


Publisher
O'Reilly Media
Year
2006
Tongue
English
Leaves
736
Edition
Second Edition
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Because it doesn't provide a printf() function like C/C++, some developers think Java isn't up to snuff with files and streams. Author Rusty Harold Elliotte argues against this notion in Java I/O, a book that shows how Java's stream support can help simplify network programming, internationalization, and even compression and encryption.The book opens with an overview of Java's stream capabilities. (The author defends Java's lack of support for console input/output (I/O) since today's applications use graphical user interfaces anyway.) He shows how to open, read, and write local files in Java applications. His file viewer example presents data in a variety of formats. (This example is improved several times until it winds up supporting different international character sets by the end of the book.)Next the author covers network programming using URL and network streams, including sockets. Sections on filters show how classes can filter out characters within streams. The tour moves forward to cover data streams, which permit streaming of Java's primitive data types. Details on how to communicate within Java programs using pipes follow. In a notable chapter, the author thoroughly explicates Java's support for encryption, including hashing, the Data Encryption Standard (DES) algorithm, and ciphers.The last portion of the book explains object serialization, which allows Java objects to save and restore their state, plus it includes sections on Java's support for data compression (and ZIP files) and multilingual Unicode character sets. (Java is prepared to handle virtually any of the world's languages with its reader and writer classes.) Finally, the author shows how you can format output in Java using its support for width and numeric precision APIs.In all, Elliotte makes a good case that Java streams are a flexible and powerful part of the language, and certainly not a limitation.

✦ Subjects


Информатика и вычислительная техника;Информатика (программирование);Программирование на Java;


📜 SIMILAR VOLUMES


Java I O (O'Reilly Java)
✍ Elliotte Rusty Harold 📂 Library 📅 1999 🏛 O'Reilly Media 🌐 English

All of Java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. Java provides many different kinds of streams, each with its own application. The universe of streams is divided into four large categories: input streams and ou

Java I/O
✍ Elliotte Rusty Harold 📂 Library 📅 1999 🏛 O'Reilly 🌐 English
Java I/O
✍ Harold E. 📂 Library 📅 1999 🏛 O'Reilly 🌐 English

All of Java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. Java provides many different kinds of streams, each with its own application. The universe of streams is divided into four large categories: input streams and output

Java I/O, NIO and NIO.2
✍ Jeff Friesen 📂 Library 📅 2015 🏛 Apress 🌐 English

Java I/O, NIO, and NIO.2 is a power-packed book that accelerates your mastery of Java's various I/O APIs. In this book, you'll learn about classic I/O APIs (File, RandomAccessFile, the stream classes and related types, and the reader/writer classes). Next, you'll learn about NIO's buffer, channel, s

Java I/O, NIO and NIO.2
✍ JEFF FRIESEN 📂 Library 📅 2015 🏛 Apress 🌐 English

<p><i>Java I/O, NIO and NIO.2</i> is a power-packed book that is an accelerated guide and reference on buffers, files, sockets, datagrams, and pipe channels as found in the Java I/O, NIO, and NIO.2 reference implementations. In this book, you'll also learn how and when to use selectors, regular expr