org.jaudiotagger.tag.id3.framebody
Class FrameBodyTIME

java.lang.Object
  extended by org.jaudiotagger.tag.id3.AbstractTagItem
      extended by org.jaudiotagger.tag.id3.AbstractTagFrameBody
          extended by org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
              extended by org.jaudiotagger.tag.id3.framebody.AbstractFrameBodyTextInfo
                  extended by org.jaudiotagger.tag.id3.framebody.FrameBodyTIME
All Implemented Interfaces:
ID3v23FrameBody

public class FrameBodyTIME
extends AbstractFrameBodyTextInfo
implements ID3v23FrameBody

Time Text information frame.

The 'Time' frame is a numeric string in the HHMM format containing the time for the recording. This field is always four characters long.

Deprecated in v2.4.0

For more details, please refer to the ID3 specifications:

Version:
$Id: FrameBodyTIME.java 932 2010-11-26 13:13:15Z paultaylor $
Author:
: Paul Taylor, : Eric Farng

Field Summary
private  boolean hoursOnly
           
 
Fields inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
TYPE_BODY
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody
objectList
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem
logger
 
Constructor Summary
FrameBodyTIME()
          Creates a new FrameBodyTIME datatype.
FrameBodyTIME(java.nio.ByteBuffer byteBuffer, int frameSize)
          Creates a new FrameBodyTIME datatype.
FrameBodyTIME(byte textEncoding, java.lang.String text)
          Creates a new FrameBodyTIME datatype.
FrameBodyTIME(FrameBodyTIME body)
           
 
Method Summary
 java.lang.String getIdentifier()
          The ID3v2 frame identifier
 boolean isHoursOnly()
           
 void setHoursOnly(boolean hoursOnly)
           
 
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractFrameBodyTextInfo
addTextValue, getFirstTextValue, getNumberOfValues, getText, getTextWithoutTrailingNulls, getUserFriendlyValue, getValueAtIndex, setText, setupObjectList, write
 
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
createStructure, equals, getSize, read, setSize, setSize
 
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hoursOnly

private boolean hoursOnly
Constructor Detail

FrameBodyTIME

public FrameBodyTIME()
Creates a new FrameBodyTIME datatype.


FrameBodyTIME

public FrameBodyTIME(FrameBodyTIME body)

FrameBodyTIME

public FrameBodyTIME(byte textEncoding,
                     java.lang.String text)
Creates a new FrameBodyTIME datatype.

Parameters:
textEncoding -
text -

FrameBodyTIME

public FrameBodyTIME(java.nio.ByteBuffer byteBuffer,
                     int frameSize)
              throws InvalidTagException
Creates a new FrameBodyTIME datatype.

Parameters:
byteBuffer -
frameSize -
Throws:
InvalidTagException
Method Detail

getIdentifier

public java.lang.String getIdentifier()
The ID3v2 frame identifier

Specified by:
getIdentifier in class AbstractID3v2FrameBody
Returns:
the ID3v2 frame identifier for this frame type

isHoursOnly

public boolean isHoursOnly()

setHoursOnly

public void setHoursOnly(boolean hoursOnly)


Copyright © 2005-2010 java.net. All Rights Reserved.