Esempio n. 1
0
 public void saveChanges() {
   try {
     mp3File.save();
   } catch (IOException | TagException e) {
     throw new RuntimeException(e);
   }
 }
Esempio n. 2
0
 /**
  * Overridden for compatibility with merged code
  *
  * @throws CannotWriteException
  */
 public void commit() throws CannotWriteException {
   try {
     save();
   } catch (IOException ioe) {
     throw new CannotWriteException(ioe);
   } catch (TagException te) {
     throw new CannotWriteException(te);
   }
 }
Esempio n. 3
0
 /**
  * Saves the tags in this dataType to the file referred to by this dataType.
  *
  * @throws IOException on any I/O error
  * @throws TagException on any exception generated by this library.
  */
 public void save() throws IOException, TagException {
   save(this.file);
 }