public static void main(String[] args)
   {
      try
      {
         MP3 mp3 = new MP3(new URL("http://www.beaglebuddy.com/content/downloads/mp3/01.Hells%20Bells.mp3"));

         // if there was any invalid information (ie, frames) in the .mp3 file,
         // then display the errors to the user
         if (mp3.hasErrors())
            mp3.displayErrors(System.out);      // display the errors that were found

         // print out all the information about the ID3 v2.3 tag (which holds the information about the song) read from the .mp3 file
         System.out.println(mp3);

         // get some specific information about the song
         System.out.println("audio duration: " + mp3.getAudioDuration()                  + "ms\n"      +
                            "audio size....: " + mp3.getAudioSize()                      + " bytes\n"  +
                            "lyrics by.....: " + mp3.getLyricsBy()                       + "\n"        +
                            "music by......: " + mp3.getMusicBy()                        + "\n"        +
                            "picture.......: " + mp3.getPicture(PictureType.FRONT_COVER) + "\n"        +
                            "publisher.....: " + mp3.getPublisher()                      + "\n"        +
                            "rating........: " + mp3.getRating()                         + "\n"        +
                            "title.........: " + mp3.getTitle()                          + "\n"        +
                            "band..........: " + mp3.getBand()                           + "\n"        +
                            "lyrics........: " + mp3.getLyrics()                         + "\n");
      }
      catch (IOException ex)
      {
         // an error occurred reading/saving the .mp3 file.
         // you may try to read it again to see if the error still occurs.
         ex.printStackTrace();
      }
      catch (IllegalStateException ex)
      {
         // this mp3 file was loaded from a URL.
         // the Beaglebuddy MP3 library treats mp3 files loaded from a URL as read-only.
         ex.printStackTrace();
      }
   }