2
* @author : Paul Taylor
5
* Version @version:$Id: FrameBodyTDTG.java,v 1.6 2006/08/25 15:35:24 paultaylor Exp $
7
* MusicTag Copyright (C)2003,2004
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.
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.
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
24
package org.jaudiotagger.tag.id3.framebody;
26
import org.jaudiotagger.tag.InvalidTagException;
27
import org.jaudiotagger.tag.id3.ID3v24Frames;
29
import java.nio.ByteBuffer;
32
public class FrameBodyTDTG extends AbstractFrameBodyTextInfo implements ID3v24FrameBody
36
* Creates a new FrameBodyTDTG datatype.
38
public FrameBodyTDTG()
42
public FrameBodyTDTG(FrameBodyTDTG body)
48
* Creates a new FrameBodyTDTG datatype.
53
public FrameBodyTDTG(byte textEncoding, String text)
55
super(textEncoding, text);
59
* Creates a new FrameBodyTDTG datatype.
61
* @throws java.io.IOException
62
* @throws InvalidTagException
64
public FrameBodyTDTG(ByteBuffer byteBuffer, int frameSize)
65
throws InvalidTagException
67
super(byteBuffer, frameSize);
72
* @return the frmae identifier
74
public String getIdentifier()
76
return ID3v24Frames.FRAME_ID_TAGGING_TIME;