29 lines
1.0 KiB
Plaintext
Executable File
29 lines
1.0 KiB
Plaintext
Executable File
Project: address-book-io
|
|
Authors: David J. Barnes and Michael Kölling
|
|
|
|
This project is part of the material for chapter 12 of the book
|
|
|
|
Objects First with Java - A Practical Introduction using BlueJ
|
|
Sixth edition
|
|
David J. Barnes and Michael Kölling
|
|
Pearson Education, 2016
|
|
|
|
A simple address-book implementation.
|
|
|
|
How to start this project:
|
|
Either: Create an AddressBook object and add
|
|
contact details (such as name, address, and phone) to it.
|
|
Or: create an AddressBookDemo and use its getBook method.
|
|
|
|
Create an AddressBookFileHandler to illustrate some basic
|
|
input-output operations on an AddressBook.
|
|
|
|
User instructions:
|
|
+ Search results are saved to "results.txt" in the project folder.
|
|
+ The file "sample.txt", in the project, folder contains a sample
|
|
entry that can be added, using the addEntriesFromFile of
|
|
the AddressBookFileHandler.
|
|
+ A complete address book object may be saved, in binary form,
|
|
using the saveToFile method. This may be read in again with
|
|
readFromFile.
|