package com.yutou.nas.Services; import com.yutou.nas.mybatis.model.MusicData; import java.io.File; import java.util.List; public interface IMusicToolsService { void init(); void scanMusic(); List getPath(String path, boolean isDir,boolean delPath); List getPath(String path, boolean isDir,boolean delPath,boolean filter); MusicData getMusicDataOfMd5(String md5,boolean isDelFile); MusicData getMusicData(String path,boolean isDelFile); List findOfTitle(String title,boolean isDelFile); List findOfArtist(String by,boolean isDelFile); List getMusicList(boolean isDelFile); int getLength(); boolean isScan(); String getMusicPath(); byte[] readImage(String path) throws Exception; File getMusicOfMd5(String md5,boolean isDelFile); File getMusicLrcMd5(String md5); }