Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.

  • Apple
  • Android
  • Windows Phone
  • Android

Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.

Kindle-Preis: EUR 35,82
inkl. MwSt.

Diese Aktionen werden auf diesen Artikel angewendet:

Einige Angebote können miteinander kombiniert werden, andere nicht. Für mehr Details lesen Sie bitte die Nutzungsbedingungen der jeweiligen Promotion.

An Ihren Kindle oder ein anderes Gerät senden

An Ihren Kindle oder ein anderes Gerät senden

Facebook Twitter Pinterest <Einbetten>
Java I/O: Tips and Techniques for Putting I/O to Work von [Harold, Elliotte Rusty]
Anzeige für Kindle-App

Java I/O: Tips and Techniques for Putting I/O to Work 2 , Kindle Edition

5.0 von 5 Sternen 1 Kundenrezension

Alle 3 Formate und Ausgaben anzeigen Andere Formate und Ausgaben ausblenden
Preis
Neu ab Gebraucht ab
Kindle Edition
"Bitte wiederholen"
EUR 35,82

Mai-Aktion: Englische eBooks stark reduziert
Entdecken Sie unsere Auswahl an englischen eBooks aus verschiedenen Genres für je 1,49 EUR. Die aktuelle Aktion läuft noch bis zum 31. Mai 2017.

Produktbeschreibungen

Amazon.de

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

Pressestimmen

'If I had to decide the best technical book ever read by me, this would be a real candidate. In my opinion a good programming book should limit itself to covering some well-defined part of its (usually) exhaustive topic. It should be easy to read with well-chose and short code-samples, especially for the critical parts and optionally, the code should grow throughout the chapters and evolve to full working programs at the end. This title fulfils it all... There aren't many illustrations throughout, but the reader will not miss them. The 'in-depth-notes' at strategic places are interesting and reveals a deep knowledge of the subject. So, if you want a fundamental understanding of streams, and data communication and /or a deep understanding of the Java I/O-model, buy it.' - Christer Loefving, Cvue, January 2000

Produktinformation

  • Format: Kindle Edition
  • Dateigröße: 2716 KB
  • Seitenzahl der Print-Ausgabe: 728 Seiten
  • ISBN-Quelle für Seitenzahl: 0596527500
  • Gleichzeitige Verwendung von Geräten: Keine Einschränkung
  • Verlag: O'Reilly Media; Auflage: 2 (16. Mai 2006)
  • Verkauf durch: Amazon Media EU S.à r.l.
  • Sprache: Englisch
  • ASIN: B0043D2F6M
  • Text-to-Speech (Vorlesemodus): Aktiviert
  • X-Ray:
  • Word Wise: Nicht aktiviert
  • Verbesserter Schriftsatz: Nicht aktiviert
  • Durchschnittliche Kundenbewertung: 5.0 von 5 Sternen 1 Kundenrezension
  • Amazon Bestseller-Rang: #660.238 Bezahlt in Kindle-Shop (Siehe Top 100 Bezahlt in Kindle-Shop)

  •  Ist der Verkauf dieses Produkts für Sie nicht akzeptabel?

Kundenrezensionen

5.0 von 5 Sternen
5 Sterne
1
4 Sterne
0
3 Sterne
0
2 Sterne
0
1 Stern
0
Siehe die Kundenrezension
Sagen Sie Ihre Meinung zu diesem Artikel

Top-Kundenrezensionen

Format: Taschenbuch
Der Schwerpunkt dieses Buches - oh Wunder - I/O und mit der vorliegenden zweiten Auflage ist auch Java 6 berücksichtigt worden. Doch ein ganzes Buch über I/O? Nun, genau genommen kommt es in fast jeder Applikation zur Verwendung der entsprechenden Bibliotheken und eine gebündelte Referenz macht in Bezug auf die Vielfalt der Möglichkeiten durchaus Sinn.

Elliotte Rusty Harlod beginnt die Einführung mittels Vorstellung von Streams und geht über zu Out- und Input Streams. Anschließend geht es dann über File und Network Streams immer weiter ans Eingemachte. Besonders gut gefallen hat mir die Behandlung von exotischeren Themen wie USB, Bluetooth und das J2ME Generic Connection Framework. Gut, diese Dinge in einem Buch zu wissen. Dabei verfügt jedes einzelne Kapitel über ausreichend Tiefgang und Codebeispiele, um das Gelesene in die Praxis zu übertragen.
Kommentar War diese Rezension für Sie hilfreich? Ja Nein Feedback senden...
Vielen Dank für Ihr Feedback.
Wir konnten Ihre Stimmabgabe leider nicht speichern. Bitte erneut versuchen
Missbrauch melden

Die hilfreichsten Kundenrezensionen auf Amazon.com (beta) (Kann Kundenrezensionen aus dem "Early Reviewer Rewards"-Programm beinhalten)

Amazon.com: 3.5 von 5 Sternen 32 Rezensionen
20 von 20 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Great 2nd edition of a comprehensive book on Java I/O 23. Mai 2006
Von calvinnme - Veröffentlicht auf Amazon.com
Format: Taschenbuch Verifizierter Kauf
The first edition of Java I/O is now seven years old, and it is definitely time for a second edition considering all that has transpired. Note that the second edition was released in May 2006, so all reviews older than that are referring to the first edition. In this second edition there are basically eight entirely new chapters added to the original seventeen. It is probably worth the price of an upgrade especially if you are interested in Java I/O as it pertains to devices. I review this second edition in the context of comparing it to the first edition.

Chapters 1 through 5 are virtually the same.
Chapter six, "Filter Streams", has had one section - Print Streams - removed and had another section on the ProgressMonitorInputStream class added. ProgressMonitorInputStream is a unique filter stream hiding in the javax.swing package that displays progress bars that indicate how much of a stream has been read and how much remains to be read, and this book shows how to use it when reading unusually large files. The section on Print Streams that was removed from chapter six now has an entire chapter dedicated to it. This is because, starting in Java 5, the familiar PrintStream class has become a lot more powerful and interesting. Besides basic console output, it now provides extensive capabilities for formatting numbers and dates in a straightforward and easy fashion.

The chapters on data streams, streams in memory, and compressing streams are virtually unchanged from the first edition. However, the "Jar Files" section from the "compressing streams" chapter has been removed and now has an entire chapter dedicated to it. In this chapter, among other topics, the author explains the Pack200 compression format and evangelizes the increasingly popular technique of hiding noncode resources like images and data files inside JAR files. The two chapters on cryptographic streams and object serialization are basically the same as before, except that one section has been added on the JavaDoc in the serialization chapter.

The next section of the book, on New I/O, is completely new material and is comprised of three chapters. The java.nio packages provide nonblocking and memory-mapped I/O, and chapters 14 through 16 cover these powerful new abilities in depth. The new I/O model is based on channels and buffers instead of streams. This model doesn't replace traditional stream-based I/O for many uses. However, it is significantly faster in one important use case: servers that process many simultaneous clients.

The next two sections of the book, "The File System" and "Text", pretty much mimic chapters 12 through 16 of the first edition.

The final section of the book, "Devices", has almost completely new material. Some of the most exciting developments since the first edition have occurred in the world of small devices,in both peripherals such as GPS receivers that connect to a host computer and devices such as Palm Pilots that are themselves increasingly powerful computers. Treatment of both of these has been dramatically expanded in this edition. For those readers working with serial and parallel port devices, the Java Communications API chapter has been upgraded to version 3.0. However, in 2006 more and more devices use faster USB ports instead. Consequently, Chapter 23 covers the new Java USB API in depth. For smaller devices that can't quite run full Java but need to perform I/O nonetheless, J2ME offers the Generic Connection Framework (GCF). Chapter 24 covers this alternative to the traditional I/O framework. Finally, Chapter 25 uses the GCF to communicate over one of the newest I/O buses, the Bluetooth API used for wireless communications with a variety of peripherals.

I was very pleased with the first edition of this book, and I have an even higher recommendation for this second edition. There are clear descriptions of how to use the Java I/O classes as well as well-commented code examples for everything. However, if you are just recently coming from a C or C++ programming perspective, the Java I/O model is so different that it will likely be a shock no matter how good the teacher is, and Mr. Harold is an excellent one. I notice that Amazon does not show the table of contents, so I do that here:
Part PART I: Basic I/O
Chapter 1. Introducing I/O
Chapter 2. Output Streams
Chapter 3. Input Streams
Part PART II: Data Sources
Chapter 4. File Streams
Chapter 5. Network Streams
Part PART III: Filter Streams
Chapter 6. Filter Streams
Chapter 7. Print Streams
Chapter 8. Data Streams
Chapter 9. Streams in Memory
Chapter 10. Compressing Streams
Chapter 11. JAR Archives
Chapter 12. Cryptographic Streams
Chapter 13. Object Serialization
Part PART IV: New I/O
Chapter 14. Buffers
Chapter 15. Channels
Chapter 16. Nonblocking I/O
Part PART V: The File System
Chapter 17. Working with Files
Chapter 18. File Dialogs and Choosers
Part PART VI: Text
Chapter 19. Character Sets and Unicode
Chapter 20. Readers and Writers
Chapter 21. Formatted I/O with java.text
Part PART VII: Devices
Chapter 22. The Java Communications API
Chapter 23. USB
Chapter 24. The J2ME Generic Connection Framework
Chapter 25. Bluetooth
Part PART VIII: Appendix
Character Sets
1 von 1 Kunden fanden die folgende Rezension hilfreich
2.0 von 5 Sternen Too much repetition and filler to be really a good read. Challenging to wade through the text to ... 3. August 2015
Von Anon - Veröffentlicht auf Amazon.com
Format: Taschenbuch Verifizierter Kauf
This book is long but strangely not comprehensive. Too much repetition and filler to be really a good read. Challenging to wade through the text to actually learn something. Would probably pass (or buy the first edition used for a few bucks, can be purchased very cheaply).
0 von 1 Kunden fanden die folgende Rezension hilfreich
2.0 von 5 Sternen FOR EXPERTS 24. September 2015
Von Anas N.Alazayed - Veröffentlicht auf Amazon.com
Format: Taschenbuch Verifizierter Kauf
I just finished reading this huge book (25 chapters)
I dislike the teaching style of the author,
he just writes what is on his mind about the subject!
It's an effective way if the readers is a Java expert.
and when i say expert, i mean have over 10 years of
practical experience with it.
I did learn a lot from the book and so would you if you buy it.
but what i learned is not equivalent to the time i spent reading,
and statistically speaking that should happen to you too.
This is the only book about Java's I/O, and it's for experts.
except the first 5 chapters or so, these are for everyone.
3 von 3 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Great reference for your file input/output logic... 10. September 2006
Von Thomas Duff - Veröffentlicht auf Amazon.com
Format: Taschenbuch
[Review of 2nd edition]

Getting data into and out of files in your Java program can be painstaking when you consider all the variations... network resources as files, compressed files, text vs. binary data in the file, etc. Java has significant power in this area, but there's a lot to know and understand. Elliotte Rusty Harold has made the task of learning it all a little easier with the book Java I/O (2nd edition).

Contents:

Part 1 - Basic I/O: Introducing I/O; Output Streams; Input Streams

Part 2 - Data Sources: File Streams; Network Streams

Part 3 - Filter Streams: Filter Streams; Print Streams; Data Streams; Streams in Memory; Compressing Streams; JAR Archives; Cryptographic Streams; Object Serialization

Part 4 - New I/O: Buffers; Channels; Nonblocking I/O

Part 5 - The File System: Working with Files; File Dialogs and Choosers

Part 6 - Text: Character Sets and Unicode; Readers and Writers; Formatted I/O with java.text

Part 7 - Devices: The Java Communications API; USB; The J2ME Generic Connection Framework; Bluetooth

Part 8 - Appendix: Appendix; Index

The first edition of this book was written back in 1999, and that's an eternity in computer years. Not only has the java.nio classes come into play since then, but you now have devices that were either bleeding edge or concept-only in 1999, like Bluetooth gadgets. Harold has improved the basic material to bring it up to date with the current state of Java development, and added the additional information for I/O classes through Java 6. I appreciated the large amount of coding samples that he uses to illustrate his points, as it makes it easy to adapt your learning to your own particular situation. The examples are also very focused, so you don't end up trying to filter out extraneous code to find the applicable concept you need.

There's another way to use this book that makes it even more valuable than just a reference manual. If you've been coding for awhile, it's possible that you've developed some ingrained approaches to file I/O that are outdated. By simply scanning the information here, you could easily find new ways to build your applications using newer methods. Or, you might find there are language features you didn't know existed, like the ability to write your files in a compressed format without having to go through a separate utility. Two or three personal revelations like that, and the book has quickly earned its place on the shelf.

While you may not use this book for every Java application you build, you'll definitely want it whenever you're working with I/O logic...
1 von 1 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Pretty good coverage of NIO and practical crypto 22. September 2006
Von XMS - Veröffentlicht auf Amazon.com
Format: Taschenbuch
Not a fan of O'Reilly books, but this one stands out because of excellent NIO coverage and topical examples. It beats the the "Java NIO" book from O'Reilly hands down. Overall I'd say this book is geared for those who want to implement but covers enough detail that it probably even soothes the more 'academic' out there (those who talk a good show but do not build real-world software).

Some highlights:

- You'll find good coverage of cryptographic I/O aimed at practical implementation.

- Excellent NIO coverage (including basic network servers in sync and async patterns)

- ZIP and JAR information including dynamic class loading

- Serial, USB and Bluetooth chapters (caveat: I don't use these but read them out of curiousity)

- Detailed coverage of readers/writers

- And obviously good coverage of the basic java.io/net packages.

As of Septemebr 2006 I find the book topical and current (even had some examples of future Java 6 code). To give you an idea of the detail offered here, there is a whole chapter (37 pages) of information on File access alone including pitfalls of cross-platform implementation. Not reading/writing files...just the trappings of opening and accessing files and directories using particular patterns, URLs, etc. The actual I/O is covered in similar depth in other chapters.

I'd also like to say that I highly appreciate examples that are concise and independant. There is nothing more frustrating than flipping to the middle of a book (what we all do anyway) and going through an example...only to find out that the author is using opaque references to classes and methods he/she developed on their own in five earlier chapters (bouncycastle APIs in Java Cryto for example). This pretty much makes quick-reference difficult to impossible and this book thankfully avoids it in spades.

I give it five starts because it'll be well used in several projects and because it is readable and accessible to both novice and advanced developers alike.
Waren diese Rezensionen hilfreich? Wir wollen von Ihnen hören.
click to open popover