EMMA Coverage Report (generated Tue Mar 14 21:50:42 EST 2006)
[all classes][org.farng.mp3.id3]

COVERAGE SUMMARY FOR SOURCE FILE [FrameBodySEEK.java]

nameclass, %method, %block, %line, %
FrameBodySEEK.java0%   (0/1)0%   (0/6)0%   (0/33)0%   (0/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class FrameBodySEEK0%   (0/1)0%   (0/6)0%   (0/33)0%   (0/13)
FrameBodySEEK (): void 0%   (0/1)0%   (0/3)0%   (0/2)
FrameBodySEEK (FrameBodySEEK): void 0%   (0/1)0%   (0/4)0%   (0/2)
FrameBodySEEK (RandomAccessFile): void 0%   (0/1)0%   (0/6)0%   (0/3)
FrameBodySEEK (int): void 0%   (0/1)0%   (0/10)0%   (0/3)
getIdentifier (): String 0%   (0/1)0%   (0/2)0%   (0/1)
setupObjectList (): void 0%   (0/1)0%   (0/8)0%   (0/2)

1package org.farng.mp3.id3;
2 
3import org.farng.mp3.InvalidTagException;
4import org.farng.mp3.object.ObjectNumberFixedLength;
5 
6import java.io.IOException;
7import java.io.RandomAccessFile;
8 
9/**
10 * <h3>4.29.&nbsp;&nbsp; Seek frame</h3>
11 * <p/>
12 * <p>&nbsp;&nbsp; This frame indicates where other tags in a file/stream can be found.<br> &nbsp;&nbsp; The 'minimum
13 * offset to next tag' is calculated from the end of this<br> &nbsp;&nbsp; tag to the beginning of the next. There may
14 * only be one 'seek frame'<br> &nbsp;&nbsp; in a tag.</p>
15 * <p/>
16 * <p>&nbsp;&nbsp; &lt;Header for 'Seek frame', ID: &quot;SEEK&quot;&gt;<br> &nbsp;&nbsp; Minimum offset to next
17 * tag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $xx xx xx xx<br> </p>
18 *
19 * @author Eric Farng
20 * @version $Revision: 1.4 $
21 */
22public class FrameBodySEEK extends AbstractID3v2FrameBody {
23 
24    /**
25     * Creates a new FrameBodySEEK object.
26     */
27    public FrameBodySEEK() {
28        super();
29    }
30 
31    /**
32     * Creates a new FrameBodySEEK object.
33     */
34    public FrameBodySEEK(final int minOffsetToNextTag) {
35        setObject("Minimum Offset to Next Tag", new Integer(minOffsetToNextTag));
36    }
37 
38    /**
39     * Creates a new FrameBodySEEK object.
40     */
41    public FrameBodySEEK(final FrameBodySEEK body) {
42        super(body);
43    }
44 
45    /**
46     * Creates a new FrameBodySEEK object.
47     */
48    public FrameBodySEEK(final RandomAccessFile file) throws IOException, InvalidTagException {
49        this.read(file);
50    }
51 
52    public String getIdentifier() {
53        return "SEEK";
54    }
55 
56    protected void setupObjectList() {
57        appendToObjectList(new ObjectNumberFixedLength("Minimum Offset to Next Tag", 4));
58    }
59}

[all classes][org.farng.mp3.id3]
EMMA 2.0.5312 (C) Vladimir Roubtsov