~ubuntu-branches/ubuntu/utopic/libjaudiotagger-java/utopic

« back to all changes in this revision

Viewing changes to src/org/jaudiotagger/tag/id3/framebody/FrameBodyTSOP.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2011-04-28 23:52:43 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110428235243-pzalvw6lncis3ukf
Tags: 2.0.3-1
* d/control: Drop Depends on default-jre per Debian Java Policy as its
  a library package.
* d/watch: Fix to directly monitor SVN tags.
* Switch to 3.0 (quilt) format.
* Bump Standards-Version to 3.9.2 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 *  @author : Paul Taylor
3
 
 *  @author : Eric Farng
4
 
 *
5
 
 *  Version @version:$Id: FrameBodyTSOP.java,v 1.12 2009/11/12 13:25:22 paultaylor Exp $
6
 
 *
7
 
 *  MusicTag Copyright (C)2003,2004
8
 
 *
9
 
 *  This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
10
 
 *  General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
11
 
 *  or (at your option) any later version.
12
 
 *
13
 
 *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
14
 
 *  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
 
 *  See the GNU Lesser General Public License for more details.
16
 
 *
17
 
 *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
18
 
 *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
19
 
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
 
 *
21
 
 * Description:
22
 
 *
23
 
 */
24
 
package org.jaudiotagger.tag.id3.framebody;
25
 
 
26
 
import org.jaudiotagger.tag.InvalidTagException;
27
 
import org.jaudiotagger.tag.id3.ID3v24Frames;
28
 
 
29
 
import java.nio.ByteBuffer;
30
 
 
31
 
 
32
 
public class FrameBodyTSOP extends AbstractFrameBodyTextInfo implements ID3v24FrameBody, ID3v23FrameBody
33
 
{
34
 
    /**
35
 
     * Creates a new FrameBodyTSOP datatype.
36
 
     */
37
 
    public FrameBodyTSOP()
38
 
    {
39
 
    }
40
 
 
41
 
    public FrameBodyTSOP(FrameBodyTSOP body)
42
 
    {
43
 
        super(body);
44
 
    }
45
 
 
46
 
    /**
47
 
     * Creates a new FrameBodyTSOP datatype.
48
 
     *
49
 
     * @param textEncoding
50
 
     * @param text
51
 
     */
52
 
    public FrameBodyTSOP(byte textEncoding, String text)
53
 
    {
54
 
        super(textEncoding, text);
55
 
    }
56
 
 
57
 
    /**
58
 
     * Creates a new FrameBodyTSOP datatype.
59
 
     *
60
 
     * @param byteBuffer
61
 
     * @param frameSize
62
 
     * @throws InvalidTagException
63
 
     */
64
 
    public FrameBodyTSOP(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
65
 
    {
66
 
        super(byteBuffer, frameSize);
67
 
    }
68
 
 
69
 
    /**
70
 
     * The ID3v2 frame identifier
71
 
     *
72
 
     * @return the ID3v2 frame identifier  for this frame type
73
 
     */
74
 
    public String getIdentifier()
75
 
    {
76
 
        return ID3v24Frames.FRAME_ID_ARTIST_SORT_ORDER;
77
 
    }
78
 
}
 
1
/**
 
2
 *  @author : Paul Taylor
 
3
 *  @author : Eric Farng
 
4
 *
 
5
 *  Version @version:$Id: FrameBodyTSOP.java 832 2009-11-12 13:25:38Z paultaylor $
 
6
 *
 
7
 *  MusicTag Copyright (C)2003,2004
 
8
 *
 
9
 *  This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
 
10
 *  General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
 
11
 *  or (at your option) any later version.
 
12
 *
 
13
 *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 
14
 *  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
15
 *  See the GNU Lesser General Public License for more details.
 
16
 *
 
17
 *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
 
18
 *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
 
19
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
20
 *
 
21
 * Description:
 
22
 *
 
23
 */
 
24
package org.jaudiotagger.tag.id3.framebody;
 
25
 
 
26
import org.jaudiotagger.tag.InvalidTagException;
 
27
import org.jaudiotagger.tag.id3.ID3v24Frames;
 
28
 
 
29
import java.nio.ByteBuffer;
 
30
 
 
31
 
 
32
public class FrameBodyTSOP extends AbstractFrameBodyTextInfo implements ID3v24FrameBody, ID3v23FrameBody
 
33
{
 
34
    /**
 
35
     * Creates a new FrameBodyTSOP datatype.
 
36
     */
 
37
    public FrameBodyTSOP()
 
38
    {
 
39
    }
 
40
 
 
41
    public FrameBodyTSOP(FrameBodyTSOP body)
 
42
    {
 
43
        super(body);
 
44
    }
 
45
 
 
46
    /**
 
47
     * Creates a new FrameBodyTSOP datatype.
 
48
     *
 
49
     * @param textEncoding
 
50
     * @param text
 
51
     */
 
52
    public FrameBodyTSOP(byte textEncoding, String text)
 
53
    {
 
54
        super(textEncoding, text);
 
55
    }
 
56
 
 
57
    /**
 
58
     * Creates a new FrameBodyTSOP datatype.
 
59
     *
 
60
     * @param byteBuffer
 
61
     * @param frameSize
 
62
     * @throws InvalidTagException
 
63
     */
 
64
    public FrameBodyTSOP(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
 
65
    {
 
66
        super(byteBuffer, frameSize);
 
67
    }
 
68
 
 
69
    /**
 
70
     * The ID3v2 frame identifier
 
71
     *
 
72
     * @return the ID3v2 frame identifier  for this frame type
 
73
     */
 
74
    public String getIdentifier()
 
75
    {
 
76
        return ID3v24Frames.FRAME_ID_ARTIST_SORT_ORDER;
 
77
    }
 
78
}