code: public void writeTags() throws FileNotFoundException, IOException
  	{
  		RandomAccessFile raf = null;
  		try
  		{
  			raf = new RandomAccessFile(mp3File, "rw");
  			// Write out id3v2 first because if the filesize is changed when an
  			// id3v2 is written then the id3v1 may be moved away from the end
  			// of the file which would cause it to not be recognized.
  			if (id3v2.tagExists())
  			{
  				id3v2.writeTag(raf);
  			}
  			if (id3v1.tagExists())
  			{
  				id3v1.writeTag(raf);
  			}
  		}
  		finally
  		{
  			if (raf != null) raf.close();
  		}
  	}
docs: Writes the current state of the id3 tags to the file.  What tags are
  written depends upon the tagType passed to the constructor.
  
  @exception FileNotFoundException if an error occurs
  @exception IOException if an error occurs