Java 5: Files and Java IO

Software Development

Commentaires:
( 0 )
214 pages
Langue:
 English
The subjects of this book are about files and how you in Java can manipulate files.
Ceci est un eBook gratuit pour les étudiants
Inscrivez-vous gratuitement
Tous les livres pour étudiants sont gratuits, sans exception. Moins de 15% de publicités dans les livres.
 
Premier mois gratuit
Abonnement pro gratuit les 30 premiers jours, puis $5.99/mois
Dernière publication
A propos de l'auteur

Poul Klausen er uddannet cand. scient. i matematik fra Aarhus Universitet med speciale i algebraisk topologi. Efter universitetet og et efterfølgende pædagogikum har Poul Klausen primært arbejdet som underviser og det især inden for it uddannelser og gennem de sidste mange år som underviser på datamat...

Description
Content

  1. Introduction 8
  2. java.io 10
    1. Files 10
    2. Exercise 1 16
    3. Random access files 17
    4. Problem 1 33
    5. Byte streams 37
    6. Exercise 2 47
    7. Exercise 3 49
    8. Exercise 4 49
    9. Object serialization 50
    10. Character streams 62
    11. Problem 2 65
    12. Text scanner 74
    13. Exercise 5 76
  3. java.nio 78
    1. Buffers 79
    2. Channels 97
    3. Path and Files 112
  4. Operations on simple data types 127
    1. The integers 127
    2. Exercise 6 131
    3. Exercise 7 135
    4. Problem 3 136
    5. Problem 4 143
    6. Exercise 8 145
    7. Exercise 9 148
    8. Exercise 10 149
  5. Final example 150
    1. The model 153
    2. The user interface 157
    3. The dialog box 160

This book is the fifth in a series of books on software development in Java. The subjects of this book are about files and how you in Java can manipulate files. Java defines two API's for IO: java.io and java.nio, and the book treats both API's. Furthermore the book treat data representation and the binary operations, and the book has an appendix, which gives a brief introduction to the binary and hexadecimal numbers.

Click here to download the source files from this book.