-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathID3v2.java
More file actions
153 lines (82 loc) · 2.66 KB
/
Copy pathID3v2.java
File metadata and controls
153 lines (82 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
package Mp3File;
import java.util.ArrayList;
import java.util.Map;
public interface ID3v2 extends ID3v1 {
boolean getPadding();
void setPadding(boolean padding);
boolean hasFooter();
void setFooter(boolean footer);
boolean hasUnsynchronisation();
void setUnsynchronisation(boolean unsynchronisation);
int getBPM();
void setBPM(int bpm);
String getGrouping();
void setGrouping(String grouping);
String getKey();
void setKey(String key);
String getDate();
void setDate(String date);
String getComposer();
void setComposer(String composer);
String getPublisher();
void setPublisher(String publisher);
String getOriginalArtist();
void setOriginalArtist(String originalArtist);
String getAlbumArtist();
void setAlbumArtist(String albumArtist);
String getCopyright();
void setCopyright(String copyright);
String getArtistUrl();
void setArtistUrl(String url);
String getCommercialUrl();
void setCommercialUrl(String url);
String getCopyrightUrl();
void setCopyrightUrl(String url);
String getAudiofileUrl();
void setAudiofileUrl(String url);
String getAudioSourceUrl();
void setAudioSourceUrl(String url);
String getRadiostationUrl();
void setRadiostationUrl(String url);
String getPaymentUrl();
void setPaymentUrl(String url);
String getPublisherUrl();
void setPublisherUrl(String url);
String getUrl();
void setUrl(String url);
String getPartOfSet();
void setPartOfSet(String partOfSet);
boolean isCompilation();
void setCompilation(boolean compilation);
ArrayList<ID3v2ChapterFrameData> getChapters();
void setChapters(ArrayList<ID3v2ChapterFrameData> chapters);
ArrayList<ID3v2ChapterTOCFrameData> getChapterTOC();
void setChapterTOC(ArrayList<ID3v2ChapterTOCFrameData> ctoc);
String getEncoder();
void setEncoder(String encoder);
byte[] getAlbumImage();
void setAlbumImage(byte[] albumImage, String mimeType);
void setAlbumImage(byte[] albumImage, String mimeType, byte imageType, String imageDescription);
void clearAlbumImage();
String getAlbumImageMimeType();
int getWmpRating();
void setWmpRating(int rating);
String getItunesComment();
void setItunesComment(String itunesComment);
String getLyrics();
void setLyrics(String lyrics);
/**
* Set genre from text.
* This method behaves different depending on the ID3 version.
* Prior to ID3v2.4, the provided text must match a id3v1 genre description.
* With ID3v2.4, the genre is written as free text.
*
* @param text genre string
*/
void setGenreDescription(String text);
int getDataLength();
int getLength();
boolean getObseleteFormat();
Map<String, ID3v2FrameSet> getFrameSets();
void clearFrameSet(String id);
}