音乐属性类:
public class Mp3Info {
private long id; // 歌曲ID 3
private String title; // 歌曲名称 0
private String album; // 专辑 7
private long albumId;//专辑ID 6
private String displayName; //显示名称 4
private String artist; // 歌手名称 2
private long duration; // 歌曲时长 1
private long size; // 歌曲大小 8
private String url; // 歌曲路径 5
private String lrcTitle; // 歌词名称
private String lrcSize; // 歌词大小
public Mp3Info() {
super();
}
public Mp3Info(long id, String title, String album, long albumId,
String displayName, String artist, long duration, long size,
String url, String lrcTitle, String lrcSize) {
super();
this.id = id;
this.title = title;
this.album = album;
this.albumId = albumId;
this.displayName = displayName;
this.artist = artist;
this.duration = duration;
this.size = size;
this.url = url;
this.lrcTitle = lrcTitle;
this.lrcSize = lrcSize;
}
@Override
public String toString() {
return "Mp3Info [id=" + id + ", title=" + title + ", album=" + album
+ ", albumId=" + albumId + ", displayName=" + displayName
+ ", artist=" + artist + ", duration=" + duration + ", size="
+ size + ", url=" + url + ", lrcTitle=" + lrcTitle
+ ", lrcSize=" + lrcSize + "]";
}
public long getId() {
return id;
}
public void setId(long id) {