Пример #1
0
 @Override
 public void addTracks(String name, List<IMp3Track> tracks) {
   musicDataBasePersister.addTracks(name, tracks);
 }
Пример #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);
 }