Refactored getContacts to use a stream instead, to be tidy
Removal of unused variable int contactsFound in getContacts
Modified flush() to instead be a close operation.
Modifying test constructor of ContactManagerImpl to take a string as a second parameter for test reading
Added FileReader to constructor of ContactManagerImpl.
In the test constructor ContactManagerImpl(writer, string) the string is passed into a StringReader.
Wrote test for initialisation to check that objects are re-instantiated. Removed calls to addNewContact in constructor of test class, so tests currently failing
Wrote tests for initialisation of Contact, Future and Past Meetings
Wrote skeleton in constructor for reading from file. Added functionality to read through the file and split the lines by commas, and then differentiating meetings and contacts via the size of the array.
Wrote functionality for reading meetings from file and instantiating them as new objects
Wrote functionality for re-instantiating contacts. Constructor with parameters is still not working - goin g to see if I can find a better way to do this.
Undid recent changes and removed double constructor
Removed I/O tests in ContactmanagerTest. Going to try again with Serialization.
Removed calls to write() in methods of ContactManagerImpl
Removed methods dateToString and contactsToString as no longer need them
added "implements Serializable" declaration to ContactImpl
added "implements Serializable" declaration to MeetingImpl,FutureMeetingImpl,PastMeetingImpl
Removed tests for deleted methods
Wrote general test for serializing and writing objects to a byte array output stream
Added ObjectInputStream and ObjectOutputStream as fields and in constructor of ContactManagerImpl
Added calls to writeObject() in the add methods, and put close() methods in flush()