org.jaudiotagger.tag.id3
Class ID3v24Frame.StatusFlags

java.lang.Object
  extended by org.jaudiotagger.tag.id3.AbstractID3v2Frame.StatusFlags
      extended by org.jaudiotagger.tag.id3.ID3v24Frame.StatusFlags
Enclosing class:
ID3v24Frame

 class ID3v24Frame.StatusFlags
extends AbstractID3v2Frame.StatusFlags

Member Class This represents a frame headers Status Flags Make adjustments if necessary based on frame type and specification.


Field Summary
static int MASK_FILE_ALTER_PRESERVATION
          Discard frame if audio part of file altered
static int MASK_READ_ONLY
          Frame tagged as read only
static int MASK_TAG_ALTER_PRESERVATION
          Discard frame if tag altered
static java.lang.String TYPE_FILEALTERPRESERVATION
           
static java.lang.String TYPE_READONLY
           
static java.lang.String TYPE_TAGALTERPRESERVATION
           
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractID3v2Frame.StatusFlags
originalFlags, TYPE_FLAGS, writeFlags
 
Constructor Summary
ID3v24Frame.StatusFlags()
          Use this when creating a frame from scratch
ID3v24Frame.StatusFlags(byte flags)
          Use this constructor when reading from file or from another v4 frame
ID3v24Frame.StatusFlags(ID3v23Frame.StatusFlags statusFlags)
          Use this constructor when convert a v23 frame
 
Method Summary
private  byte convertV3ToV4Flags(byte v3Flag)
          Convert V3 Flags to equivalent V4 Flags
 void createStructure()
           
protected  void modifyFlags()
          Makes modifications to flags based on specification and frameid
 
Methods inherited from class org.jaudiotagger.tag.id3.AbstractID3v2Frame.StatusFlags
getOriginalFlags, getWriteFlags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_TAGALTERPRESERVATION

public static final java.lang.String TYPE_TAGALTERPRESERVATION
See Also:
Constant Field Values

TYPE_FILEALTERPRESERVATION

public static final java.lang.String TYPE_FILEALTERPRESERVATION
See Also:
Constant Field Values

TYPE_READONLY

public static final java.lang.String TYPE_READONLY
See Also:
Constant Field Values

MASK_TAG_ALTER_PRESERVATION

public static final int MASK_TAG_ALTER_PRESERVATION
Discard frame if tag altered

See Also:
Constant Field Values

MASK_FILE_ALTER_PRESERVATION

public static final int MASK_FILE_ALTER_PRESERVATION
Discard frame if audio part of file altered

See Also:
Constant Field Values

MASK_READ_ONLY

public static final int MASK_READ_ONLY
Frame tagged as read only

See Also:
Constant Field Values
Constructor Detail

ID3v24Frame.StatusFlags

ID3v24Frame.StatusFlags()
Use this when creating a frame from scratch


ID3v24Frame.StatusFlags

ID3v24Frame.StatusFlags(byte flags)
Use this constructor when reading from file or from another v4 frame

Parameters:
flags -

ID3v24Frame.StatusFlags

ID3v24Frame.StatusFlags(ID3v23Frame.StatusFlags statusFlags)
Use this constructor when convert a v23 frame

Parameters:
statusFlags -
Method Detail

convertV3ToV4Flags

private byte convertV3ToV4Flags(byte v3Flag)
Convert V3 Flags to equivalent V4 Flags

Parameters:
v3Flag -
Returns:

modifyFlags

protected void modifyFlags()
Makes modifications to flags based on specification and frameid


createStructure

public void createStructure()
Overrides:
createStructure in class AbstractID3v2Frame.StatusFlags