title: Java reading formatted text file and dividing it
body: <p>I'm trying to understand file I/O for class and I understand the basics but I'm having trouble understanding how to manage whats in the input file, the input file is formatted like this: </p>
  
  <blockquote>
    <p>BusinessContact:firstName=Nikolaos;lastName=Tsantalis
    SocialNetworkAccount:socialNetworkType=SKYPE;accountID=tsantalis</p>
  </blockquote>
  
  <p>Basically my contact (which BusinessContact extends from) object has attributes of firstName, lastName and middleName,
  it also has object attributes such as SocialNetworkAccount and such.... </p>
  
  <p>I don't need to be explained how my objects are formatted, those have been done all I'm trying to understand is how my file.txt in inputed into my program to set my Contact to a BusinessContact as well as setting the first and last name accordingly,</p>
  
  <p>Thanks</p>
  
  <p>EDIT: Im specifically told to use the split method which makes sense but I'm also told (1) create a common method for the parsing of attributes that returns a map where the keys correspond to the attributeNames and the values to the attributeValues (in this way you can reuse the same code) </p>