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

« back to all changes in this revision

Viewing changes to org/jaudiotagger/tag/id3/framebody/FrameBodyXSOA.java

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath, Damien Raude-Morvan, Varun Hiremath
  • Date: 2009-04-01 19:17:56 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090401191756-bygniim270guy7o1
Tags: 1.0.9-1
[ Damien Raude-Morvan ]
* New upstream release
* debian/watch: Use java.net repository (which contains new releases!)
* debian/control:
  - Build-Depends on default-jdk-builddep
  - Bump Standards-Version to 3.8.1 (no changes needed)
  - Change section to "java"
* debian/rules: use default-java as JAVA_HOME
* debina/orig-tar.{sh|excludes}: strip audio and others binary files from ZIP
* debian/build.xml:
  - compile with "nowarn" to keep build log readable
  - exclude LogFormatter from build (use com.sun classes)
* debian/ant.properties: new source directory is "src" in orig.tar.gz
* Add myself as Uploaders

[ Varun Hiremath ]
* Accept changes made by Damien Raude-Morvan (Closes: #522130)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.jaudiotagger.tag.id3.framebody;
2
 
 
3
 
import org.jaudiotagger.tag.InvalidTagException;
4
 
import org.jaudiotagger.tag.id3.ID3v23Frames;
5
 
 
6
 
import java.nio.ByteBuffer;
7
 
 
8
 
/**
9
 
 * Album Sort name, this is what MusicBrainz uses in ID3v23 because TSOA not supported.
10
 
 *
11
 
 * However iTunes uses TSOA even in ID3v23, so we have two possible options
12
 
 */
13
 
public class FrameBodyXSOA extends AbstractFrameBodyTextInfo implements ID3v23FrameBody
14
 
{
15
 
    /**
16
 
     * Creates a new FrameBodyTSOT datatype.
17
 
     */
18
 
    public FrameBodyXSOA()
19
 
    {
20
 
    }
21
 
 
22
 
    public FrameBodyXSOA(FrameBodyXSOA body)
23
 
    {
24
 
        super(body);
25
 
    }
26
 
 
27
 
    /**
28
 
     * Creates a new FrameBodyTSOT datatype.
29
 
     *
30
 
     * @param textEncoding
31
 
     * @param text
32
 
     */
33
 
    public FrameBodyXSOA(byte textEncoding, String text)
34
 
    {
35
 
        super(textEncoding, text);
36
 
    }
37
 
 
38
 
    /**
39
 
     * Creates a new FrameBodyTSOT datatype.
40
 
     *
41
 
     * @throws InvalidTagException
42
 
     */
43
 
    public FrameBodyXSOA(ByteBuffer byteBuffer, int frameSize)
44
 
        throws InvalidTagException
45
 
    {
46
 
        super(byteBuffer, frameSize);
47
 
    }
48
 
 
49
 
     /**
50
 
      * The ID3v2 frame identifier
51
 
      *
52
 
      * @return the ID3v2 frame identifier  for this frame type
53
 
     */
54
 
    public String getIdentifier()
55
 
    {
56
 
        return ID3v23Frames.FRAME_ID_V3_ALBUM_SORT_ORDER_MUSICBRAINZ;
57
 
    }
58
 
}