Package com.jitcaforwin.trackinfoanalyzer.log

Examples of com.jitcaforwin.trackinfoanalyzer.log.AnalyzerLibraryLog


    IITPlaylist itFolder = this.iTunes.createFolder(folderName);
    return (PlaylistFolderImpl) this.playlistFactory.getPlaylist(itFolder);
  }

  public AnalyzerLog analyzeTrackInfo() {
    AnalyzerLibraryLog log = new AnalyzerLibraryLog();
    for (Track track : this.getPlaylist().getTracks()) {
      try {
        log.addLog(((FileOrCDTrack) track).analyzeTrackInfo());
      } catch (TrackAnalyzerRuntimeException e) {
        log.reportException(e);
      }
    }
    return log;
  }
View Full Code Here


    return this.tracks.get(0);
  }

  @Override
  public AnalyzerLog analyzeTrackInfo() {
    AnalyzerLibraryLog log = new AnalyzerLibraryLog();
    for (Track track : this) {
      try {
        if (track instanceof FileOrCDTrack){
          log.addLog(((FileOrCDTrack) track).analyzeTrackInfo());
        } else {
          log.addLog(new AnalysisNotPossibleBecauseOfTrackKindLogEntry((TrackInfo) track));
        }
       
      } catch (TrackAnalyzerRuntimeException e) {
        log.reportException(e);
      }
    }
    return log;
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.trackinfoanalyzer.log.AnalyzerLibraryLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.