Cantitate/Preț
Produs

Java I/O

Autor Elliotte Rusty Harold
en Limba Engleză Paperback – 20 iun 2006

Prin parcurgerea acestui manual tehnic, cititorul va implementa sisteme robuste de gestionare a fluxurilor de date, capabile să proceseze informații complexe prin tehnici de compresie, criptare și formatare internațională. Descoperim aici o analiză exhaustivă a bibliotecii standard Java, unde Elliotte Rusty Harold descompune universul stream-urilor în patru piloni fundamentali: fluxurile de intrare și ieșire pentru date binare, respectiv cititoarele și scriitoarele pentru date textuale. Considerăm esențial focusul pe eficiență, autorul explicând cum utilizarea corectă a stream-urilor cu buffer poate optimiza performanța aplicațiilor. Mai mult, lucrarea oferă soluții practice pentru provocările moderne ale programării, precum manipularea datelor criptate prin CipherInputStream sau automatizarea compresiei cu ZipOutputStream. Pe linia practică a volumului Java I/O, NIO and NIO.2 de Jeff Friesen, această carte se concentrează pe fundamentele fluxurilor clasice și pe stăpânirea seturilor de caractere Unicode, facilitând scrierea de software multilingv într-o eră a globalizării. Reținem că această ediție a doua reprezintă o piesă centrală în bibliografia autorului, făcând puntea între Java Network Programming și XML in a Nutshell. Dacă în lucrările despre rețelistică Harold se concentra pe transportul datelor, aici detaliază mecanica internă a acestora, oferind precizia tehnică necesară pentru a controla formatarea numerică și textuală la cel mai înalt nivel. Structura este una de referință, transformând un subiect arid într-un ghid aplicat, indispensabil pentru dezvoltatorii care au depășit stadiul de începător, așa cum este prezentat în Core Java.

Citește tot Restrânge

Preț: 36650 lei

Preț vechi: 45812 lei
-20%

Puncte Express: 550

Carte tipărită la comandă

Livrare economică 13-27 octombrie

Livrare prin curier în România Termenul estimat este afișat lângă disponibilitate.
Transport gratuit de la 40000 lei Plată online sau ramburs, în funcție de opțiunile comenzii.
Retur gratuit în 14 zile Comandă securizată și suport în română.

Specificații

ISBN-13: 9780596527501
ISBN-10: 0596527500
Pagini: 726
Dimensiuni: 179 x 236 x 37 mm
Greutate: 1.06 kg
Ediția:2nd edition
Editura: O'Reilly
Locul publicării:United States

De ce să citești această carte

Recomandăm această carte programatorilor Java care doresc să stăpânească fluxurile de date dincolo de elementele de bază. Veți câștiga expertiză în manipularea eficientă a fișierelor, criptarea stream-urilor și suportul pentru internaționalizare. Este un instrument esențial pentru oricine dezvoltă aplicații ce necesită procesare intensivă de date sau comunicare securizată, oferind soluții concrete pentru optimizarea performanței I/O.


Despre autor

Elliotte Rusty Harold este un autor și conferențiar recunoscut în industria software, originar din New Orleans și stabilit în Brooklyn. Este o figură proeminentă în comunitatea open-source, fiind creatorul bibliotecii XOM pentru procesarea XML în Java. Expertiza sa vastă se reflectă în numeroasele titluri publicate la editura O'Reilly, unde abordează teme complexe precum programarea de rețea, API-urile de mail și standardele XML, fiind un vorbitor frecvent la conferințe de prestigiu precum Software Development și Dr. Dobb's Architecture & Design World.


Descriere scurtă

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 largecategories: input streams and output streams, for reading and writing binary data; and readers and writers, for reading and writing textual (character) data. You're almost certainly familiar with the basic kinds of streams--but did you know that there's a CipherInputStream for reading encrypted data? And a ZipOutputStream for automaticallycompressing data? Do you know how to use buffered streams effectively to make your I/O operations more efficient? Java I/O, 2nd Edition has been updated for Java 5.0 APIs and tells you all you ever need to know about streams--and probably more.
A discussion of I/O wouldn't be complete without treatment of character sets and formatting. Java supports the Unicode standard, which provides definitions for the character sets of most written languages. Consequently, Java is the first programming language that lets you do I/O in virtually any language. Java also provides a sophisticated model for formatting textual and numeric data. Java I/O, 2nd Edition 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.
Java I/O, 2nd Edition includes:
  • Coverage of all I/O classes and related classes
  • In-depth coverage of Java's number formatting facilities and its support for international character sets

Cuprins

Preface; ; What's New in This Edition; Organization of the Book; Who You Are; About the Examples; Conventions Used in This Book; Request for Comments; Safari Enabled; Acknowledgments; Basic I/O; Chapter 1: Introducing I/O; 1.1 What Is a Stream?; 1.2 Numeric Data; 1.3 Character Data; 1.4 Readers and Writers; 1.5 Buffers and Channels; 1.6 The Ubiquitous IOException; 1.7 The Console: System.out, System.in, and System.err; 1.8 Security Checks on I/O; Chapter 2: Output Streams; 2.1 Writing Bytes to Output Streams; 2.2 Writing Arrays of Bytes; 2.3 Closing Output Streams; 2.4 Flushing Output Streams; 2.5 Subclassing OutputStream; 2.6 A Graphical User Interface for Output Streams; Chapter 3: Input Streams; 3.1 The read( ) Method; 3.2 Reading Chunks of Data from a Stream; 3.3 Counting the Available Bytes; 3.4 Skipping Bytes; 3.5 Closing Input Streams; 3.6 Marking and Resetting; 3.7 Subclassing InputStream; 3.8 An Efficient Stream Copier; Data Sources; Chapter 4: File Streams; 4.1 Reading Files; 4.2 Writing Files; 4.3 File Viewer, Part 1; Chapter 5: Network Streams; 5.1 URLs; 5.2 URL Connections; 5.3 Sockets; 5.4 Server Sockets; 5.5 URLViewer; Filter Streams; Chapter 6: Filter Streams; 6.1 The Filter Stream Classes; 6.2 The Filter Stream Subclasses; 6.3 Buffered Streams; 6.4 PushbackInputStream; 6.5 ProgressMonitorInputStream; 6.6 Multitarget Output Streams; 6.7 File Viewer, Part 2; Chapter 7: Print Streams; 7.1 Print Versus Write; 7.2 Line Breaks; 7.3 Error Handling; 7.4 printf( ); 7.5 Formatter; 7.6 Formattable; Chapter 8: Data Streams; 8.1 The Data Stream Classes; 8.2 Integers; 8.3 Floating-Point Numbers; 8.4 Booleans; 8.5 Byte Arrays; 8.6 Strings and chars; 8.7 Little-Endian Numbers; 8.8 Thread Safety; 8.9 File Viewer, Part 3; Chapter 9: Streams in Memory; 9.1 Sequence Input Streams; 9.2 Byte Array Streams; 9.3 Communicating Between Threads Using Piped Streams; Chapter 10: Compressing Streams; 10.1 Inflaters and Deflaters; 10.2 Compressing and Decompressing Streams; 10.3 Zip Files; 10.4 Checksums; 10.5 File Viewer, Part 4; Chapter 11: JAR Archives; 11.1 Meta-Information: Manifest Files and Signatures; 11.2 The jar Tool; 11.3 The java.util.jar Package; 11.4 JarFile; 11.5 JarEntry; 11.6 Attributes; 11.7 Manifest; 11.8 JarInputStream; 11.9 JarOutputStream; 11.10 JarURLConnection; 11.11 Pack200; 11.12 Reading Resources from JAR Files; Chapter 12: Cryptographic Streams; 12.1 Hash Functions; 12.2 The MessageDigest Class; 12.3 Digest Streams; 12.4 Encryption Basics; 12.5 The Cipher Class; 12.6 Cipher Streams; 12.7 File Viewer, Part 5; Chapter 13: Object Serialization; 13.1 Reading and Writing Objects; 13.2 Object Streams; 13.3 How Object Serialization Works; 13.4 Performance; 13.5 The Serializable Interface; 13.6 Versioning; 13.7 Customizing the Serialization Format; 13.8 Resolving Classes; 13.9 Resolving Objects; 13.10 Validation; 13.11 Sealed Objects; 13.12 JavaDoc; New I/O; Chapter 14: Buffers; 14.1 Copying Files with Buffers; 14.2 Creating Buffers; 14.3 Buffer Layout; 14.4 Bulk Put and Get; 14.5 Absolute Put and Get; 14.6 Mark and Reset; 14.7 Compaction; 14.8 Duplication; 14.9 Slicing; 14.10 Typed Data; 14.11 Read-Only Buffers; 14.12 CharBuffers; 14.13 Memory-Mapped I/O; Chapter 15: Channels; 15.1 The Channel Interfaces; 15.2 File Channels; 15.3 Converting Between Streams and Channels; 15.4 Socket Channels; 15.5 Server Socket Channels; 15.6 Datagram Channels; Chapter 16: Nonblocking I/O; 16.1 Nonblocking I/O; 16.2 Selectable Channels; 16.3 Selectors; 16.4 Selection Keys; 16.5 Pipe Channels; The File System; Chapter 17: Working with Files; 17.1 Understanding Files; 17.2 Directories and Paths; 17.3 The File Class; 17.4 Filename Filters; 17.5 File Filters; 17.6 File Descriptors; 17.7 Random-Access Files; 17.8 General Techniques for Cross-Platform File Access Code; Chapter 18: File Dialogs and Choosers; 18.1 File Dialogs; 18.2 JFileChooser; 18.3 File Viewer, Part 6; Text; Chapter 19: Character Sets and Unicode; 19.1 The Unicode Character Set; 19.2 UTF-16; 19.3 UTF-8; 19.4 Other Encodings; 19.5 Converting Between Byte Arrays and Strings; Chapter 20: Readers and Writers; 20.1 The java.io.Writer Class; 20.2 The OutputStreamWriter Class; 20.3 The java.io.Reader Class; 20.4 The InputStreamReader Class; 20.5 Encoding Heuristics; 20.6 Character Array Readers and Writers; 20.7 String Readers and Writers; 20.8 Reading and Writing Files; 20.9 Buffered Readers and Writers; 20.10 Print Writers; 20.11 Piped Readers and Writers; 20.12 Filtered Readers and Writers; 20.13 File Viewer Finis; Chapter 21: Formatted I/O with java.text; 21.1 The Old Way; 21.2 Choosing a Locale; 21.3 Number Formats; 21.4 Specifying Width with FieldPosition; 21.5 Parsing Input; 21.6 Decimal Formats; Devices; Chapter 22: The Java Communications API; 22.1 The Architecture of the Java Communications API; 22.2 Identifying Ports; 22.3 Communicating with a Device on a Port; 22.4 Serial Ports; 22.5 Parallel Ports; Chapter 23: USB; 23.1 USB Architecture; 23.2 Finding Devices; 23.3 Controlling Devices; 23.4 Describing Devices; 23.5 Pipes; 23.6 IRPs; 23.7 Temperature Sensor Example; 23.8 Hot Plugging; Chapter 24: The J2ME Generic Connection Framework; 24.1 The Generic Connection Framework; 24.2 ContentConnection; 24.3 Files; 24.4 HTTP; 24.5 Serial I/O; 24.6 Sockets; 24.7 Server Sockets; 24.8 Datagrams; Chapter 25: Bluetooth; 25.1 The Bluetooth Protocol; 25.2 The Java Bluetooth API; 25.3 The Local Device; 25.4 Discovering Devices; 25.5 Remote Devices; 25.6 Service Records; 25.7 Talking to Devices; Appendix; Character Sets; Colophon;