Exemplo n.º 1
0
 @Override
 public void addTracks(String name, List<IMp3Track> tracks) {
   musicDataBasePersister.addTracks(name, tracks);
 }
Exemplo n.º 2
0
 @Override
 public void addTrack(String name, Path mp3File) throws AnathemaException, IOException {
   List<IMp3Track> tracks = new ArrayList<>();
   tracks.add(new FileMp3Track(mp3File));
   musicDataBasePersister.addTracks(name, tracks);
 }