📄 framebodyxsot.java
字号:
package com.hadeslee.audiotag.tag.id3.framebody;
import com.hadeslee.audiotag.tag.InvalidTagException;
import com.hadeslee.audiotag.tag.id3.ID3v23Frames;
import java.nio.ByteBuffer;
/**
* Title Sort name, this is what MusicBrainz uses in ID3v23 because TSOT not supported.
*
* However iTunes uses TSOT even in ID3v23, so we have two possible options
*/
public class FrameBodyXSOT extends AbstractFrameBodyTextInfo implements ID3v23FrameBody
{
/**
* Creates a new FrameBodyTSOT datatype.
*/
public FrameBodyXSOT()
{
}
public FrameBodyXSOT(FrameBodyXSOT body)
{
super(body);
}
/**
* Creates a new FrameBodyTSOT datatype.
*
* @param textEncoding
* @param text
*/
public FrameBodyXSOT(byte textEncoding, String text)
{
super(textEncoding, text);
}
/**
* Creates a new FrameBodyTSOT datatype.
*
* @throws InvalidTagException
*/
public FrameBodyXSOT(ByteBuffer byteBuffer, int frameSize)
throws InvalidTagException
{
super(byteBuffer, frameSize);
}
/**
* The ID3v2 frame identifier
*
* @return the ID3v2 frame identifier for this frame type
*/
public String getIdentifier()
{
return ID3v23Frames.FRAME_ID_V3_TITLE_SORT_ORDER_MUSICBRAINZ;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -