Java I/O, 2nd Edition

Paperback Engels 2006 2e druk 9780596527501
€ 69,92
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

How well do you know I/O? 'Java I/O, second edition' teaches you the I/O tricks and techniques used by the wizards and gurus of the Java world. This book will open your eyes to the powers and patterns of streaming I/O.

Java's I/O facilities are extraordinary flexible and simple to use, and provide everything from simple binary and text output to USB and Bluetooth communication. There's world-class support for internationalization, memory-mapped files, asynchronous I/O and more. Do you need to encrypt your files and network sockets for privacy and security? 'CipherInputStream' is what you want. Do you desire smaller, more compact output? 'ZipOutputStream' is what you're looking for. Is your network server buckling under the load of many clients? Selectors and channels could be your salvation.

All of that's in this book, covered in detail, with practical examples. Topics include:

Input and output streams;
Network sockets;
Filter streams, including buffered streams, data streams and pushback input streams;
Printf-style I/O;
ZIP and JAR archives;
Encryption and decryption;
Object serialization;
Buffers, channels, non-blocking I/O, and other 'new I/O' features;
Files, directories, file systems, and file choosers;
Readers, writers, and Unicode;
Serial and parallel ports, USB, and Bluetooth;
I/O programming for J2ME devices.

I/O is at the heart of every useful program, whether it's a backend server or a desktop application.
Without input or output, programs can't communicate. And poor I/O handling is often at the root of performance problems. This book shows you how to solve your I/O problems. 'Java I/O, second edition' is an essential resource for anyone who's writing in Java today.

Specificaties

ISBN13:9780596527501
Taal:Engels
Bindwijze:paperback
Aantal pagina's:705
Uitgever:O'Reilly
Druk:2
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Preface

Part I. Basic I/O

1. Introducing I/O
What Is a Stream?
Numeric Data
Character Data
Readers and Writers
Buffers and Channels
The Ubiquitous IOException
The Console: System.out, System.in, and System.err
Security Checks on I/O

2. Output Streams
Writing Bytes to Output Streams
Writing Arrays of Bytes
Closing Output Streams
Flushing Output Streams
Subclassing OutputStream
A Graphical User Interface for Output Streams

3. Input Streams
The read( ) Method
Reading Chunks of Data from a Stream
Counting the Available Bytes
Skipping Bytes
Closing Input Streams
Marking and Resetting
Subclassing InputStream
An Efficient Stream Copier

Part II. Data Sources

4. File Streams
Reading Files
Writing Files
File Viewer, Part 1

5. Network Streams
URLs
URL Connections
Sockets
Server Sockets
URLViewer

Part III. Filter Streams

6. Filter Streams
The Filter Stream Classes
The Filter Stream Subclasses
Buffered Streams
PushbackInputStream
ProgressMonitorInputStream
Multitarget Output Streams
File Viewer, Part 2

7. Print Streams
Print Versus Write
Line Breaks
Afgekapt op 60 regels

Managementboek Top 100

€ 69,92
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Java I/O, 2nd Edition