Java I/O et plus d'un million d'autres livres sont disponibles pour le Kindle d'Amazon. En savoir plus

Vous l'avez déjà ? Vendez votre exemplaire ici
Java I/O  (en anglais)
 
 
Commencer à lire Java I/O sur votre Kindle en moins d'une minute .

Vous n'avez pas encore de Kindle ? Achetez-le ici ou téléchargez une application de lecture gratuite.

Java I/O (en anglais) [Anglais] [Broché]

Harold


Voir les offres de ces vendeurs.


‹  Retourner à l'aperçu du produit

Descriptions du produit

Amazon.com

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

Book Description

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 offers many different kinds of streams, each with its own application. Java I/O tells you all you need to know about the four main categories of streams and uncovers less-known features to help make your I/O operations more efficient. You'll find detailed coverage of input and output streams for reading and writing binary data, and readers and writers for reading and writing textual (character) data. You'll then learn about the more elusive CryptInputStream for reading encrypted data and the ZipOutputStream for automatically compressing data, plus how to effectively use buffered streams. Java is the first programming language that lets you do I/O in virtually any language. It also provides a sophisticated model for formatting textual and numeric data. Java I/O shows you how to control number formatting, use characters aside from the standard (but outdated) ASCII character set, and get a head start on writing truly multilingual software.

Ingram

Intermediate programmers can refer to this guide to gain a solid understanding of text formatting in an object-oriented language. "Java I/O" explores streams, which provide simple ways to read and write data of different types, and shows how to control number formatting, use characters aside from the standard (but outdated) ASCII character set, and get a head start on writing truly multi-lingual software.

JA Majors Book Info

Designed to instruct users how to really use Java's I/O classes, allowing quick and easy programming accomplishing many common tasks. Topics include: filtering data, writing and reading files, passing data between threads, and the encryption and decryption of data. Softcover.

Publisher comments

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 I/O, 2nd Edition tells you all you need to know about the four main categories of streams and uncovers less-known features to help make your I/O operations more efficient. You'll also learn how to control number formatting, use characters aside from the standard ASCII character set, and get a head start on writing truly multilingual software. --Ce texte fait référence à lédition Broché .
‹  Retourner à l'aperçu du produit