1 | package org.farng.mp3.id3; |
2 | |
3 | import org.farng.mp3.InvalidTagException; |
4 | |
5 | import java.io.RandomAccessFile; |
6 | |
7 | /** |
8 | * The 'Commercial information' frame is a URL pointing at a webpage<br> with information such |
9 | * as where the album can be bought. There may be<br> more than one "WCOM" frame in a tag, but |
10 | * not with the same content.</p> |
11 | * |
12 | * @author Eric Farng |
13 | * @version $Revision: 1.4 $ |
14 | */ |
15 | public class FrameBodyWCOM extends AbstractFrameBodyUrlLink { |
16 | |
17 | /** |
18 | * Creates a new FrameBodyWCOM object. |
19 | */ |
20 | public FrameBodyWCOM() { |
21 | super(); |
22 | } |
23 | |
24 | /** |
25 | * Creates a new FrameBodyWCOM object. |
26 | */ |
27 | public FrameBodyWCOM(final String urlLink) { |
28 | super(urlLink); |
29 | } |
30 | |
31 | /** |
32 | * Creates a new FrameBodyWCOM object. |
33 | */ |
34 | public FrameBodyWCOM(final FrameBodyWCOM body) { |
35 | super(body); |
36 | } |
37 | |
38 | /** |
39 | * Creates a new FrameBodyWCOM object. |
40 | */ |
41 | public FrameBodyWCOM(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { |
42 | super(file); |
43 | } |
44 | |
45 | public String getIdentifier() { |
46 | return "WCOM" + ((char) 0) + getUrlLink(); |
47 | } |
48 | } |