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

« back to all changes in this revision

Viewing changes to src/org/jaudiotagger/tag/id3/framebody/FrameBodyTSOT.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: FrameBodyTSOT.java,v 1.11 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
 
/**
33
 
 * Title Sort name
34
 
 */
35
 
public class FrameBodyTSOT extends AbstractFrameBodyTextInfo implements ID3v24FrameBody, ID3v23FrameBody
36
 
{
37
 
    /**
38
 
     * Creates a new FrameBodyTSOT datatype.
39
 
     */
40
 
    public FrameBodyTSOT()
41
 
    {
42
 
    }
43
 
 
44
 
    public FrameBodyTSOT(FrameBodyTSOT body)
45
 
    {
46
 
        super(body);
47
 
    }
48
 
 
49
 
    /**
50
 
     * Creates a new FrameBodyTSOT datatype.
51
 
     *
52
 
     * @param textEncoding
53
 
     * @param text
54
 
     */
55
 
    public FrameBodyTSOT(byte textEncoding, String text)
56
 
    {
57
 
        super(textEncoding, text);
58
 
    }
59
 
 
60
 
    /**
61
 
     * Creates a new FrameBodyTSOT datatype.
62
 
     *
63
 
     * @param byteBuffer
64
 
     * @param frameSize
65
 
     * @throws InvalidTagException
66
 
     */
67
 
    public FrameBodyTSOT(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
68
 
    {
69
 
        super(byteBuffer, frameSize);
70
 
    }
71
 
 
72
 
    /**
73
 
     * The ID3v2 frame identifier
74
 
     *
75
 
     * @return the ID3v2 frame identifier  for this frame type
76
 
     */
77
 
    public String getIdentifier()
78
 
    {
79
 
        return ID3v24Frames.FRAME_ID_TITLE_SORT_ORDER;
80
 
    }
81
 
}
 
1
/**
 
2
 *  @author : Paul Taylor
 
3
 *  @author : Eric Farng
 
4
 *
 
5
 *  Version @version:$Id: FrameBodyTSOT.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
/**
 
33
 * Title Sort name
 
34
 */
 
35
public class FrameBodyTSOT extends AbstractFrameBodyTextInfo implements ID3v24FrameBody, ID3v23FrameBody
 
36
{
 
37
    /**
 
38
     * Creates a new FrameBodyTSOT datatype.
 
39
     */
 
40
    public FrameBodyTSOT()
 
41
    {
 
42
    }
 
43
 
 
44
    public FrameBodyTSOT(FrameBodyTSOT body)
 
45
    {
 
46
        super(body);
 
47
    }
 
48
 
 
49
    /**
 
50
     * Creates a new FrameBodyTSOT datatype.
 
51
     *
 
52
     * @param textEncoding
 
53
     * @param text
 
54
     */
 
55
    public FrameBodyTSOT(byte textEncoding, String text)
 
56
    {
 
57
        super(textEncoding, text);
 
58
    }
 
59
 
 
60
    /**
 
61
     * Creates a new FrameBodyTSOT datatype.
 
62
     *
 
63
     * @param byteBuffer
 
64
     * @param frameSize
 
65
     * @throws InvalidTagException
 
66
     */
 
67
    public FrameBodyTSOT(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
 
68
    {
 
69
        super(byteBuffer, frameSize);
 
70
    }
 
71
 
 
72
    /**
 
73
     * The ID3v2 frame identifier
 
74
     *
 
75
     * @return the ID3v2 frame identifier  for this frame type
 
76
     */
 
77
    public String getIdentifier()
 
78
    {
 
79
        return ID3v24Frames.FRAME_ID_TITLE_SORT_ORDER;
 
80
    }
 
81
}