Java 5: Files and Java IO

Software Development

notes :
( 0 )
214 pages
Jazyk:
 English
The subjects of this book are about files and how you in Java can manipulate files.
Toto je bezplatná eKniha pro studenty
Pro přístup zdarma se zaregistrujte
Všechny studentské knihy zdarma, navždy. Méně než 15% reklam
 
Prvních 30 dní zdarma
Byznys předplatné zdarma během prvních 30 dnů, pak $5.99/m
O autorovi

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.