public void saveChanges() { try { mp3File.save(); } catch (IOException | TagException e) { throw new RuntimeException(e); } }
/** * 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); } }
/** * 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); }